hornetnz
20 Nov 2012, 1:03 PM
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.
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);
}
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);
}