Jboul

Are there any general reasons what the settings window wouldnt close after you click OK


Re: Sidebar Gadget Development Settings wont close??

Jonathan Abbott

Are you allowing it to close

System.Gadget.onSettingsClosing = settingsClosing;

function settingsClosing(event) {
if (event.closeAction == event.Action.commit) {
// save your settings
}

// allow the window to close
event.cancel = false;
}





Re: Sidebar Gadget Development Settings wont close??

Lotek Deviant

It could be a problem anywhere in your JS. Not too helpfull I know but
everytime I have had this problem it has been when I have made a change
somewhere in my JavaScript, the settings page appears normal but no
matter HOW hard you try to press the OK button nothing happens.