Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Nov 2010
    Posts
    98
    Vote Rating
    9
    watermark will become famous soon enough

      0  

    Default [4.1 RC1] Ext.LoadMask destroy doesn't remove mask

    [4.1 RC1] Ext.LoadMask destroy doesn't remove mask


    Ext version tested:
    • Ext 4.1 RC1
    Browser versions tested against:
    • Chrome 17
    DOCTYPE tested against:
    • XHTML 1.0 Transitional
    Description:
    • In 4.0.7, calling destroy on a LoadMask would remove it from the screen and (presumably) remove it from memory. In 4.1 RC1, calling destroy on a LoadMask doesn't remove it from the screen.
    Steps to reproduce the problem:
    • Create a loadMask on the body and show it
    • Call loadMask.destroy()
    The result that was expected:
    • The loadmask is removed from the page
    The result that occurs instead:
    • The loadmask remains on the screen. Did it even delete the object?
    Test Case:
    Code:
    var myMask = new Ext.LoadMask(Ext.getBody(), {msg:"Please wait..."});
    myMask.show();
    myMask.destroy();

    Possible fix:
    • not provided
    Operating System:
    • Ubuntu

  2. #2
    Ext JS Premium Member
    Join Date
    Nov 2010
    Posts
    98
    Vote Rating
    9
    watermark will become famous soon enough

      0  

    Default


    Bandaid:

    Code:
    Ext.LoadMask.override({    listeners: {
            beforedestroy: function() {
                this.hide();
            }
        }
    });