From 33eb05ef9a2fe10062fd28ca645c5b23b8aaa1fa Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Thu, 5 Mar 2009 06:03:04 +0000 Subject: Applied jQuery UI buttons to quick edit pane. Not tested, but icons should display iin IE6 now. Rotate icons will need to be updated later. --- core/js/quick.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'core/js') diff --git a/core/js/quick.js b/core/js/quick.js index a30694b5..bfef0d65 100644 --- a/core/js/quick.js +++ b/core/js/quick.js @@ -28,6 +28,15 @@ var show_quick = function() { {}, function(data, textStatus) { $("#gQuickPane").html(data).slideDown("fast"); + // @todo Move hover to a function + $(".ui-state-default").hover( + function(){ + $(this).addClass("ui-state-hover"); + }, + function(){ + $(this).removeClass("ui-state-hover"); + } + ); $("#gQuickPane a:not(.options)").click(function(e) { e.preventDefault(); quick_do(cont, $(this), img); -- cgit v1.2.3