From e5b5e288436b29c3a799b3d4fb99e9361dd669c4 Mon Sep 17 00:00:00 2001 From: Mariela Michalek Date: Fri, 18 Apr 2014 17:12:36 -0300 Subject: [PATCH] fade in remove button --- .../libraries/bootstrap/BootstrapDialog.js | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/mindplot/src/main/javascript/libraries/bootstrap/BootstrapDialog.js b/mindplot/src/main/javascript/libraries/bootstrap/BootstrapDialog.js index dedc9d32..38ab504c 100644 --- a/mindplot/src/main/javascript/libraries/bootstrap/BootstrapDialog.js +++ b/mindplot/src/main/javascript/libraries/bootstrap/BootstrapDialog.js @@ -4,12 +4,13 @@ var BootstrapDialog = new Class({ options: { cancelButton: false, closeButton: false, - acceptButton: true + acceptButton: true, + removeButton:false }, initialize: function (title, options) { this.setOptions(options); - this._native = $('').append(''); + this._native = $('').append(''); var content = $(''); var header = this._buildHeader(title); if (header) { @@ -26,14 +27,20 @@ var BootstrapDialog = new Class({ _buildFooter: function() { var footer = null; - if (this.options.acceptButton || this.options.cancelButton) { - footer = $('