From a07bd766258684c3616431d0a3197e544d954e79 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 19 Jul 2011 17:42:19 +0100 Subject: [PATCH] Final major add for working buttons in IE --- static/js/pad_editbar.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index ae15bc2d..2095ab9a 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -14,7 +14,6 @@ * limitations under the License. */ - var padeditbar = (function() { @@ -84,14 +83,15 @@ var padeditbar = (function() }, isEnabled: function() { - return !$("#editbar").hasClass('disabledtoolbar'); +// return !$("#editbar").hasClass('disabledtoolbar'); + return true; }, disable: function() { $("#editbar").addClass('disabledtoolbar').removeClass("enabledtoolbar"); }, toolbarClick: function(cmd) - { + { if (self.isEnabled()) { if(cmd == "showusers") @@ -99,7 +99,7 @@ var padeditbar = (function() self.toogleDropDown("users"); } else if (cmd == 'embed') - { + { var padurl = document.location; $('#embedinput').val("