Closed wkeese closed 9 years ago
Code like this is supposed to call the onExecute() method when the popup widget fires an "execute" or "change" event:
this._openRet = popupUtil.open({ popup: popup, ... onCancel: function () { console.log(id + ": cancel of child " + popup.id); }, onExecute: function () { console.log(id + ": execute of child " + popup.id); popupUtil.close(popup); } });
It's working for onCancel() but not onExecute().
There's also some code in the delite/popup code for dealing with nested popups, specifically menus, that we aren't using, and can be removed.
Code like this is supposed to call the onExecute() method when the popup widget fires an "execute" or "change" event:
It's working for onCancel() but not onExecute().
There's also some code in the delite/popup code for dealing with nested popups, specifically menus, that we aren't using, and can be removed.