Roo/form/ComboNested.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2020 06:42:13 +0000 (14:42 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2020 06:42:13 +0000 (14:42 +0800)
Roo/form/ComboNested.js

index c8fd7f9..61a5253 100644 (file)
@@ -99,18 +99,18 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         // always needs footer, as we are going to have an 'OK' button.
         this.footer = this.list.createChild({cls:cls+'-ft'});
         this.pageTb = new Roo.Toolbar(this.footer);  
-        
+        var _this = this;
         this.pageTb.add(  {
             
             text: 'Done',
             handler: function()
             {
-                _t.collapse();
+                _this.collapse();
             }
         });
         
         if ( this.allowBlank && !this.disableClear) {
-            var _this = this;
+            
             this.pageTb.add(new Roo.Toolbar.Fill(), {
                 cls: 'x-btn-icon x-btn-clear',
                 text: '&#160;',