From: Alan Knowles Date: Fri, 30 Nov 2018 03:49:17 +0000 (+0800) Subject: Roo/bootstrap/Modal.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=47eb385386dbd396e5cb7f78f880eb1e94c332e0 Roo/bootstrap/Modal.js roojs-bootstrap.js roojs-bootstrap-debug.js --- diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index dc46682926..80b28ee16c 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -240,18 +240,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { cn : header }, bdy, - { - cls : 'modal-footer', - cn : [ - { - tag: 'div', - cls: 'btn-' + this.buttonPosition - } - ] - - } - - + footer ] } diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 694a823590..57832ac90c 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -2870,18 +2870,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { cn : header }, bdy, - { - cls : 'modal-footer', - cn : [ - { - tag: 'div', - cls: 'btn-' + this.buttonPosition - } - ] - - } - - + footer ] } diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index 2a0e71d323..4fdea7dcaf 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -115,9 +115,9 @@ this.footerEl=this.el.select('.modal-footer',true).first();this.maskEl=Roo.DomHe if(typeof(b.listeners)=='undefined'){b.listeners={click:this.onButtonClick.createDelegate(this)};}var E=Roo.factory(b);E.render(this.el.select('.modal-footer div').first());},this);}var C=[];if(typeof(this.items)!='undefined'){var D=this.items;delete this.items; for(var i=0;i