From 47eb385386dbd396e5cb7f78f880eb1e94c332e0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 30 Nov 2018 11:49:17 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js roojs-bootstrap.js roojs-bootstrap-debug.js --- Roo/bootstrap/Modal.js | 13 +------------ roojs-bootstrap-debug.js | 13 +------------ roojs-bootstrap.js | 6 +++--- 3 files changed, 5 insertions(+), 27 deletions(-) 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