Suddenly the scripts I was working on, are all stating this error when I use a click handler: Error Encountered: An unexpected error occurred
For example :
var clickHandlerColapse = app.createServerClickHandler("respondColapse");
upButton.addClickHandler(clickHandlerColapse);<br>
clickHandlerColapse.addCallbackElement(verPanel);
Calling the function:
function respondColapse(e) {
var app = UiApp.getActiveApplication();
app.getElementById('abpanel').setVisible(false);
return app.close();
}
Any ideas what could cause this or why?
try this simple code :
On Chrome and safari (mac) It causes an error ‘An unexpected error occurred’