[CLOSED] Check if modal mask is displayed

  1. #1

    [CLOSED] Check if modal mask is displayed

    Hi,

    Please suggest how to determine whether the modal mask layer is displayed on the page. I'd think it's something like
    var isMasked=Ext.getBody().isMasked();
    but it can't be relied upon.
    Last edited by Daniil; May 17, 2013 at 3:28 PM. Reason: [CLOSED]
  2. #2
    Hi Vadym,

    Maybe, this helps.
    Ext.getBody().hasClass("x-body-masked");
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi Vadym,

    Maybe, this helps.
    Ext.getBody().hasClass("x-body-masked");
    Thanks, that's the check! I also looked into the implementation of Ext.net.Mask class and it seems like the class name is actually "x-masked":

    Ext.getBody().addClass("x-masked");
    Please close this thread down.

Similar Threads

  1. The Modal Window behind own mask/shadow
    By savasdogangb in forum 2.x Help
    Replies: 1
    Last Post: Feb 20, 2013, 7:30 AM
  2. Replies: 3
    Last Post: Jan 08, 2013, 7:05 AM
  3. [CLOSED] How to keep a ComboBox enabled on top of the modal mask?
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 13, 2012, 8:33 PM
  4. [CLOSED] Modal desktopwindow and event mask
    By CSG in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: Nov 24, 2011, 9:03 PM
  5. [CLOSED] Mask not covering the modal window
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Oct 20, 2011, 3:46 PM

Tags for this Thread

Posting Permissions