following error message appears, if I make a panel with Adobe Configurator 2.0 for Indesign and then click on a master page-item:
An attached script has caused the following error:
Would you like to disable this event handler?
The error also occurs when a script accesses a master page of any document.
Anyone knows a solution to the problem?
Operating System: Mac OS 10.6.8, Application: Indesign CS5.5
This is a fix by guess, go to configurator installation folder with finder.
Find a file named "IDSN07Template.jsx", and find these code lines:
app.eventListeners.add('afterAttributeChanged', onAttrMsg, false);
Comment out line
//app.eventListeners.add('afterAttributeChanged', onAttrMsg, false);
and re-export your panel.
This is a issue which I meet before, but not sure it's your problem.
#Great, thanks for answer!
I did not find exact the same file, because I don't have configurator installation folder - only the app. But I find the function addListeners() in the jsx-file of the panel.
After comment out this line, the error does not occur any longer.
In my memory, click the app, and select "show package content", then you can see the subfolder and files of the app in the Mac finder.
File IDSN07Template.jsx should under "bundles/IDSN-07", after modify it, it will not happen when you re-export panel next time.
This modification will disable some icon status sync ability, but will not impact major features of the panel.
I had similar "Invalid object Would you like to disable this event handler? " message.
I got rid of it by placing the following code into "On Panel Initialization":
app.removeEventListener( 'afterAttributeChanged', onAttrMsg );
Europe, Middle East and Africa