summaryrefslogtreecommitdiff
path: root/themes/admin_default/js
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-02-23 05:14:05 +0000
committerChad Kieffer <chad@2tbsp.com>2009-02-23 05:14:05 +0000
commitcd8d1c6582caeb6908d959d1e1371e9b450d78c7 (patch)
tree0289145997245d1a61b997f78c8273d983646a48 /themes/admin_default/js
parent490a182f85dded2804371459f4e3da89ae9a1066 (diff)
Temp fix for photostreamin admin dashboard, other miscellaneous css fixes. Apply jQuery UI button css to submit inputs in the admin theme.
Diffstat (limited to 'themes/admin_default/js')
-rw-r--r--themes/admin_default/js/ui.init.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/admin_default/js/ui.init.js b/themes/admin_default/js/ui.init.js
index 4f672c2a..d0406b39 100644
--- a/themes/admin_default/js/ui.init.js
+++ b/themes/admin_default/js/ui.init.js
@@ -26,7 +26,10 @@ $(document).ready(function(){
$('.gItem').vAlign();
}
- // Round view menu buttons
+ // Apply jQuery UI button css to submit inputs
+ $("input[type=submit]:not(.gShortForm input)").addClass("ui-state-default ui-corner-all");
+
+ // Round view menu buttons
if ($("#gAdminCommentsMenu").length) {
$("#gAdminCommentsMenu ul").removeClass("gMenu").removeClass("sf-menu");
$("#gAdminCommentsMenu").addClass("gButtonSet");