You found a bug! We've classified it as EXTJS-9449 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User msaads's Avatar
    Join Date
    Sep 2013
    Posts
    1
    Vote Rating
    0
    msaads is on a distinguished road

      0  

    Default Update Ext.LoadMask Example

    Update Ext.LoadMask Example


    Ext.LoadMask Example provided at:
    http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.LoadMask

    is:
    PHP Code:
    // Basic mask:
    var myMask newExt.LoadMaskmyPanel, { msg:"Please wait..." });
    myMask.show(); 
    This example is giving following message on console:
    PHP Code:
    Ext.LoadMaskLoadMask now uses a standard 1 arg constructor: use the target config 
    This example should be updated to this:
    PHP Code:
    // Basic mask:
    var myMask =newExt.LoadMask({ 
             
    targetmyPanel      // Here myPanel is the component you wish to mask 
             
    msg:"Please wait..."
    });
    myMask.show(); 

  2. #2
    Sencha - Services Team arthurakay's Avatar
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,375
    Vote Rating
    37
    arthurakay is a jewel in the rough arthurakay is a jewel in the rough arthurakay is a jewel in the rough arthurakay is a jewel in the rough

      1  

    Default


    Thanks for the report!

    EXTJSIV-9449 was already open, but I'll bump it to see if we can't prioritize that fix.

    I completely agree that our samples should follow the correct API
    Arthur Kay
    Developer Relations Manager, Sencha Inc.

    Twitter | Sencha Chicago User Group

Thread Participants: 1

Tags for this Thread