Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6795985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:24:45+00:00 2026-05-26T18:24:45+00:00

I have a window which opens up on a button click. The window takes

  • 0

I have a window which opens up on a button click. The window takes time to load and hence I am using load mask in following way:

handler:function(){
    var myMask      =       new Ext.LoadMask(Ext.getBody(), {msg:"Loading..."});
    myMask.show();
    var winAppln    =       showWin(myMask);
    if(winAppln){
        var task = new Ext.util.DelayedTask(function(){
            winAppln.show();
        });
        task.delay(2000);
    }
}

I am hiding the mask object in the afterrender function of window in following way:

afterrender:function(){
    if(maskObj){
        maskObj.hide();
    }
}

The above code works fine in all the browsers, except IE (version 9 and 8).

In IE9 and IE8, there is an error generated as “Invalid Argument” in ext-all-debug.js at line 8682 which is as following

me.dom.style[ELEMENT.normalize(style)] = value;

Could anyone guide that what can be a possible reason behind this.

Also, my main purpose is to cover the lag between the click of button & opening of window, so that user is aware about something is happening. Is there a better way of doing this other then using Load Mask, or could Load Mask be used in some different manner, then as shown above?

Thanks in advance.

PS: I am using ExtJS Version 4.0.7

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:24:45+00:00Added an answer on May 26, 2026 at 6:24 pm

    As per the things found by me so far, this issue is caused when the window has modal:true set.

    IE 8 and 9 create a conflict between loadMask and modal:true and throw an error.

    A workaround for this is to take off modal:true from the window and set it to true in the afterrender event of window once the loadmask hide function has been called as below:

    afterrender:function(){
        if(maskObj){
            maskObj.hide();
        }
        this.modal = true;
    }
    

    Hope this helps someone looking for the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a modal window which opens up a login form, then i click
I have a parent window in which a push-button's click event function has the
I have a question on javascript window management. My application opens an iframe which
I have a login window with a Sign In button which is set as
I have a pop up window which lists images using a form and radio
I have a second window which opens when a certain staffname is searched for,
Suppose we have a website in which you click on a button, and that
In my WPF application, I have a main window (Branch.xaml) which has a button
I have a parent window from which i open a modal dialog on button
I have a main window (#1) on my webpage from which I open a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.