Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    Mercer Island, WA
    Posts
    66
    Vote Rating
    0
    DonRul is on a distinguished road

      0  

    Default Ext.Msg.alert disables UI

    Ext.Msg.alert disables UI


    I have used Ext.Msg.alert in a number of instances and it consistently disables my UI.

    Here is one example:

    PHP Code:
    Ext.Ajax.request({
    url'../Services/PortalApp-Web-Services-PortalDomain.svc/JSON/SubmitChanges',

    method'POST',
    paramsJSON.stringify(payload),
    headers: {
        
    'Accept''application/json, text/javascript, */*; q=0.01',
        
    'Content-Type''application/json'
    },
    scopethis,
    success: function (result) {
        var 
    response=Ext.JSON.decode(result.responseText);
        
    Ext.Msg.alert('Success''Submitted successfully');
        var 
    patientOrderStore Ext.data.StoreManager.lookup('PatientOrderStore');
        
    patientOrderStore.load();
        
    Ext.getCmp('maincarosel').setActiveItem(0);
    },
    failure: function (resultrequest) {
        
    Ext.Msg.alert('Failed''Submission unsuccessful');
    }
    }); 
    In all cases the messagebox displays and masks the UI. When you dismiss the messagebox there is a flicker but the mask is not removed from the UI.

    This repros on Chrome, Safari, and iPad

    Note also when I try to use the callback from the messagebox the callback is never fired.

    Ext.Msg.alert('Success', 'Submitted successfully', function (){
    var test = "never get here";
    });

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,087
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Ext JS or Sencha Touch? Version?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Location
    Mercer Island, WA
    Posts
    66
    Vote Rating
    0
    DonRul is on a distinguished road

      0  

    Default


    Touch Designer Build 298
    Library http://extjs.cachefly.net/touch/senc...igner-edition/

    I had this problem on the prior version and it didn't go away with the latest.

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,087
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Doesn't appear to manifest itself in the standard touch example:
    http://extjs.cachefly.net/touch/senc...#demo/overlays
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Feb 2012
    Location
    Mercer Island, WA
    Posts
    66
    Vote Rating
    0
    DonRul is on a distinguished road

      0  

    Default


    I have a sandbox sample if it is useful to you.

    It is at http://pgxportal.com/Mobile/index.html

    Note that on the login screen if you mess up the password the messagebox works fine.

    If you refresh to bring back the test creds and then log in I change the viewport on successful login:

    me.navView = Ext.create('PgxPortal.view.MainNav');
    Ext.Viewport.add(me.navView);
    patientOrderStore.load(function() {
    var loginPanel = me.getLoginPanel();
    loginPanel.hide();
    });

    After that point the Ext.Msg.alert problem occurrs everywhere.
    You can see an example by logging in and then clicking the "Print Manifest" button on the toolbar.

  6. #6
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,087
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    tapping print manifest after logging in simply shows a loading indicator and then goes away

    I do not see a dialog
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  7. #7
    Sencha User
    Join Date
    Feb 2012
    Location
    Mercer Island, WA
    Posts
    66
    Vote Rating
    0
    DonRul is on a distinguished road

      0  

    Default


    Sorry, I didn't prop the last change to the AWS server
    It is there now.

  8. #8
    Sencha User
    Join Date
    Feb 2012
    Location
    Mercer Island, WA
    Posts
    66
    Vote Rating
    0
    DonRul is on a distinguished road

      0  

    Default


    Just upgraded to build 309 with no change in symptoms.

  9. #9
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,087
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    What version of Touch are you linking to?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  10. #10
    Sencha User
    Join Date
    Feb 2012
    Location
    Mercer Island, WA
    Posts
    66
    Vote Rating
    0
    DonRul is on a distinguished road

      0  

    Default


    http://extjs.cachefly.net/touch/senc...igner-edition/

    I've always just accepted the default

Thread Participants: 2

Tags for this Thread