summaryrefslogtreecommitdiff
path: root/core/js
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-03-05 06:03:04 +0000
committerChad Kieffer <chad@2tbsp.com>2009-03-05 06:03:04 +0000
commit33eb05ef9a2fe10062fd28ca645c5b23b8aaa1fa (patch)
tree50c7f49425403511fda611310d50b06e37bf43bf /core/js
parent05f22b47d81481cf8b10a005e586902370cd99bc (diff)
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.
Diffstat (limited to 'core/js')
-rw-r--r--core/js/quick.js9
1 files changed, 9 insertions, 0 deletions
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);