aras.registerEventHandler('ItemSave', window, saveFunction);However, the "saveFunction" is triggered even after i move out of the window to other forms.
aras.registerEventHandler('ItemSave', window, saveFunction);However, the "saveFunction" is triggered even after i move out of the window to other forms.
top.window.addEventListener('save', function(event) {
// your code here
});
top.window.addEventListener('save', function(event) {
// your code here
});