From 8c654cefd2dd49ed1f4fda360220b0d82cd03827 Mon Sep 17 00:00:00 2001 From: Geoff Goehle Date: Thu, 27 Jun 2013 13:23:31 -0400 Subject: [PATCH] Fixed broken disabled buttons --- htdocs/themes/math4/math4.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/themes/math4/math4.js b/htdocs/themes/math4/math4.js index bb73084ee3..1aad414b0b 100644 --- a/htdocs/themes/math4/math4.js +++ b/htdocs/themes/math4/math4.js @@ -5,6 +5,9 @@ $(function(){ $('.nav_button').addClass('btn btn-primary'); $('.classlist').addClass('table table-condensed classlist-table'); + // Make grey_buttons disabled buttons + $('.gray_button').addClass('btn disabled').removeClass('gray_button'); + // replace pencil gifs by something prettier $('td a:has(img[src$="edit.gif"])').each(function () { $(this).html($(this).html().replace(//," ")); });