michaeluno / admin-page-framework

Facilitates WordPress plugin and theme development.
http://admin-page-framework.michaeluno.jp/
Other
340 stars 71 forks source link

clarification needed for repeatable section #173

Closed premiumsupport365 closed 9 years ago

premiumsupport365 commented 9 years ago

Hi Michael,

I updated the admin page framework, but the repeat section is not working. But it works using the example setting you have provided. but this time its confusing for me to understand.

so I tried to find whats wrong and tried to take simple example from your page below http://en.michaeluno.jp/admin-page-framework/tutorials-v3/06-use-section-tabs-and-repeatable-sections/

in the chrome console I am seeing an error as "undefined is not a function" can you point out whats wrong with the code.

michaeluno commented 9 years ago

Hi,

Which version of the framework?

In Chrome, at the very end of the right hand side of the error message in the console pane, there is a link to the resource file. If you click that link, Chrome will open a new pane and point the line causing the error. Can you click on that and tell what line is highlighted? It will be hard to find the line in the minified version so you may try that with the non-minified verison.

premiumsupport365 commented 9 years ago

Hi Michael

here is the screenshot https://www.dropbox.com/s/1kd0qq3dpysxy7j/Screenshot%202014-11-30%2011.30.48.png?dl=0

and the error causing line is

 nodeNewSection.find( '.admin-page-framework-collapsible-sections-title, .admin-page-framework-collapsible-section-title' ).enableAPFCollapsibleButton();

its the latest version 3.4

michaeluno commented 9 years ago

Thanks for the report. It should be fixed in v3.4.1b. Download

premiumsupport365 commented 9 years ago

Hi Michael thanks for the fix. Its working now.

have a great day mate