1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    18
    Answers
    3
    Vote Rating
    0
    hornetnz is on a distinguished road

      0  

    Default 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);
            }

  2. Of course I managed to overlook the callback part in the doc. Never mind!

  3. #2
    Sencha User
    Join Date
    Nov 2012
    Posts
    18
    Answers
    3
    Vote Rating
    0
    hornetnz is on a distinguished road

      0  

    Default


    Of course I managed to overlook the callback part in the doc. Never mind!