From: Alan Knowles Date: Fri, 7 Feb 2020 06:22:29 +0000 (+0800) Subject: Roo/form/ComboNested.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=42adce9d10c2fd2b170e87190d54fc025f2ca64c;p=roojs1 Roo/form/ComboNested.js --- diff --git a/Roo/form/ComboNested.js b/Roo/form/ComboNested.js index 40c44bf962..99617021d5 100644 --- a/Roo/form/ComboNested.js +++ b/Roo/form/ComboNested.js @@ -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) {