Custom Fields
Re-Envisioned
Support Meta Box Tabs JS error when validation metabox without tabs

  • Creator
    Topic
  • #26836
    SIW
    Participant

    Problem
    When Meta Box Tabs is active and you validate a metabox without tabs, validation causes a JavaScript error:

    tabs.js?ver=1.1.7:12 Uncaught TypeError: Cannot read property 'panel' of undefined
        at showTab (tabs.js?ver=1.1.7:12)
        at HTMLFormElement.<anonymous> (tabs.js?ver=1.1.7:41)
        at HTMLDocument.dispatch (jquery.min.js?ver=3.5.1:2)
        at HTMLDocument.v.handle (jquery.min.js?ver=3.5.1:2)
        at Object.trigger (jquery.min.js?ver=3.5.1:2)
        at HTMLFormElement.<anonymous> (jquery.min.js?ver=3.5.1:2)
        at Function.each (jquery.min.js?ver=3.5.1:2)
        at s.fn.init.each (jquery.min.js?ver=3.5.1:2)
        at s.fn.init.trigger (jquery.min.js?ver=3.5.1:2)
        at validation.min.js?ver=5.3.9:18

    Reproduction path

    • Activate Meta Box Tabs
    • Create a metabox without tabs with a required field
    • Open the post type with the metabo, leave the required field empty and save the post
Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #26839
    Long Nguyen
    Moderator

    Hi,

    Thank you for your feedback.

    I've escalated this issue to the development team. It will be fixed in the next update as soon as possible.

    #31356
    SIW
    Participant

    Hi, is there any ETA on this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.