From 42adce9d10c2fd2b170e87190d54fc025f2ca64c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 7 Feb 2020 14:22:29 +0800 Subject: [PATCH] Roo/form/ComboNested.js --- Roo/form/ComboNested.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.39.2