summaryrefslogtreecommitdiff
path: root/lib/gallery.common.js
diff options
context:
space:
mode:
authorshadlaws <shad@shadlaws.com>2013-03-02 23:00:02 +0100
committershadlaws <shad@shadlaws.com>2013-03-02 23:00:02 +0100
commit73139982c7be10789c27360913b4bc4cbd5cd38e (patch)
tree806a1f95936c0952cfa1740eae2eccc534c5d46e /lib/gallery.common.js
parent0d05e91cd3c5050c25133c864f8b789f499d8e17 (diff)
#2032 - Fix short form submit/cancel button formatting.
- fixed the height of the submit buttons to match the input box - changed the cancel links into cancel buttons - added the hover effect to the buttons when used in in_place_edit (e.g. admin/tags)
Diffstat (limited to 'lib/gallery.common.js')
-rw-r--r--lib/gallery.common.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gallery.common.js b/lib/gallery.common.js
index c3d1362c..5ff6b397 100644
--- a/lib/gallery.common.js
+++ b/lib/gallery.common.js
@@ -202,6 +202,9 @@
$(".g-short-form input[type=submit]").addClass("ui-state-default ui-corner-right");
}
+ // Add the hover effect to the buttons
+ $.fn.gallery_hover_init();
+
// Set the input value equal to label text
if (input.val() == "") {
input.val(label.html());