Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jun 2010
    Location
    Buenos Aires, Argentina
    Posts
    213
    Vote Rating
    9
    ldonofrio will become famous soon enough

      0  

    Default [FIXED-EXTJSIV-789][B2] window.hide() scope argument doesn't work

    [FIXED-EXTJSIV-789][B2] window.hide() scope argument doesn't work


    The scope of the callback is always the Ext.window object.
    PHP Code:
       Ext.onReady(function(){
        var 
    win Ext.widget('window', {
         
    width600,
         
    height400,
         
    buttons: [
          {
           
    text'hide win',
           
    handler: function(){
            
    win.hide(null, function(){
             
    console.log(this);
            }, 
    window);
           }
          }
         ]
        });
        
    win.show();
       }); 

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,642
    Vote Rating
    582
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Thanks for the report, will be fixed in the next release.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. Replies: 1
    Last Post: 25 Mar 2011, 5:55 PM
  2. Replies: 2
    Last Post: 21 Dec 2010, 2:26 AM
  3. [CLOSED]scope in defaults doesn't work
    By steffenk in forum Ext 3.x: Bugs
    Replies: 4
    Last Post: 25 May 2010, 1:45 AM
  4. Replies: 3
    Last Post: 16 May 2009, 5:48 AM
  5. [FIXED] Window maximize don't work after hide and show
    By Zorn in forum Ext GWT: Bugs (1.x)
    Replies: 3
    Last Post: 20 Nov 2008, 10:41 AM

Thread Participants: 1