From 6c8ebb52df459b2bd538cac22194c97385ee6b4c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 30 Nov 2018 15:59:01 +0800 Subject: [PATCH] Roo/bootstrap/MessageBox.js roojs-bootstrap.js roojs-bootstrap-debug.js --- Roo/bootstrap/MessageBox.js | 5 +++-- roojs-bootstrap-debug.js | 5 +++-- roojs-bootstrap.js | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Roo/bootstrap/MessageBox.js b/Roo/bootstrap/MessageBox.js index 243b5485d3..22e40e8782 100644 --- a/Roo/bootstrap/MessageBox.js +++ b/Roo/bootstrap/MessageBox.js @@ -61,10 +61,11 @@ Roo.bootstrap.MessageBox = function(){ buttons["cancel"].hide(); buttons["yes"].hide(); buttons["no"].hide(); - //dlg.footer.dom.style.display = 'none'; + dlg.footerEl.hide(); + return width; } - dlg.footerEl.dom.style.display = ''; + dlg.footerEl.show(); for(var k in buttons){ if(typeof buttons[k] != "function"){ if(b[k]){ diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index dbf65be00a..6ce4b13780 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -3324,10 +3324,11 @@ Roo.bootstrap.MessageBox = function(){ buttons["cancel"].hide(); buttons["yes"].hide(); buttons["no"].hide(); - //dlg.footer.dom.style.display = 'none'; + dlg.footerEl.hide(); + return width; } - dlg.footerEl.dom.style.display = ''; + dlg.footerEl.show(); for(var k in buttons){ if(typeof buttons[k] != "function"){ if(b[k]){ diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index 0a65142db0..fb1b8008b5 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -133,7 +133,7 @@ i
'+''+'
 
'} -- 2.39.2