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

index 40c44bf..9961702 100644 (file)
@@ -96,10 +96,10 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
             this.onRenderList( cls, i);
         }
         
-        if(this.allowBlank && !this.disableClear){
-            this.footer = this.list.createChild({cls:cls+'-ft'});
-            this.pageTb = new Roo.Toolbar(this.footer);  
-        }
+        // 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);  
+        
        
         
         if (this.pageTb && this.allowBlank && !this.disableClear) {