Results 1 to 4 of 4

Thread: LoadMask is not destroyed in ST2.1

  1. #1
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    245
    Answers
    6
    Vote Rating
    2
      0  

    Default Answered: LoadMask is not destroyed in ST2.1

    Hi guys,

    For some odd reason the loadmask is not set to false after the given time in ST2.1.
    Any ideas why?


    Code:
                            Ext.Viewport.setMasked({
                                xtype: 'loadmask',
                                message: 'Updating, please wait...'
                            });
    
    
                            logThis('Spinnies);
    
    
                            setTimeout(function() {
                                Ext.Viewport.getActiveItem().setMasked(false);
                            }, 500);
    Regards
    Riyaad

  2. You should keep the targets of setMasked() persistent. Try this.

    Code:
    setTimeout(function() {
            Ext.Viewport.setMasked(false);
    }, 500);

  3. #2
    Sencha User
    Join Date
    Nov 2011
    Location
    England
    Posts
    136
    Answers
    11
    Vote Rating
    7
      0  

    Default

    You should keep the targets of setMasked() persistent. Try this.

    Code:
    setTimeout(function() {
            Ext.Viewport.setMasked(false);
    }, 500);

  4. #3
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    245
    Answers
    6
    Vote Rating
    2
      0  

    Default

    Bows head in shame.....*sigh*
    Thank you

  5. #4
    Sencha User
    Join Date
    Nov 2011
    Location
    England
    Posts
    136
    Answers
    11
    Vote Rating
    7
      0  

    Default

    You're welcome.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •