Custom Fields
Re-Envisioned
Support Meta Box Group Collapsible group + not Collapsible group => JS error

This topic contains 3 replies, has 2 voices, and was last updated by  Anh Tran 2 years, 1 month ago.

  • Creator
    Topic
  • #5314
    Resolved
    al_05
    Participant

    Hi!

    I am currently testing with the Meta Box Group plugin version 1.2.1. It seems like if I have a Meta-box-1 with a non-collapsible group and a Meta-box-2 with a collapsible group there is a JavaScript error.

    Uncaught Error: cannot call methods on sortable prior to initialization; attempted to call method 'option'

    I think the line throwing the error in the JavaScript is:

    $( this ).sortable( 'option', 'handle', '.rwmb-clone-icon + .rwmb-group-title' );

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #5321

    Anh Tran
    Keymaster

    Hi, can you please post your code here?

    #5322

    al_05
    Participant

    Thanks for the quick response. I simplified my meta-boxes and it seems like I do not get the error again. If I get it back I’ll post the code.

    #5336

    Anh Tran
    Keymaster

    OK, great. Let me know if you still see the bug.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.