-
20 Nov 2012 1:03 PM #1
Answered: MessageBox.alert OK onclick?
Answered: MessageBox.alert OK onclick?
Is it possible to attach a function to the onclick of the OK button in a MessageBox.alert window? I need to have it re-open the MessageBox that it just replaced.
Code:if (e.exists) { Ext.MessageBox.alert('Create new array', 'That array already exists. Please provide a unique name.'); } else { this.fireEvent('create', this, { Name: workflowName, ArrayName: workflowName }); this.setActiveRecord(null); }
-
Best Answer Posted by hornetnz
Of course I managed to overlook the callback part in the doc. Never mind!

-
20 Nov 2012 1:44 PM #2
Of course I managed to overlook the callback part in the doc. Never mind!



Reply With Quote