summaryrefslogtreecommitdiff
path: root/themes/admin_default/js/ui.init.js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-15 22:52:01 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-15 22:52:01 +0000
commitbcea2a6228f8d8f4047f416b1e2174b0bd5e3479 (patch)
treef7277922750e21dc005450df737a444141c038c6 /themes/admin_default/js/ui.init.js
parentd04dbadfa1c9a2ed6823ac2ffd64d8f68f27581c (diff)
Hide the menu until we can superfish it so that we don't see the
unstyled list appear which causes the page layout to flicker.
Diffstat (limited to 'themes/admin_default/js/ui.init.js')
-rw-r--r--themes/admin_default/js/ui.init.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/themes/admin_default/js/ui.init.js b/themes/admin_default/js/ui.init.js
index 120b04ba..677b985a 100644
--- a/themes/admin_default/js/ui.init.js
+++ b/themes/admin_default/js/ui.init.js
@@ -13,6 +13,7 @@ $(document).ready(function(){
pathClass: 'current',
speed: 'fast'
});
+ $("#gSiteAdminMenu").css("display", "block");
// Apply modal dialogs
var dialogLinks = $(".gDialogLink");
@@ -48,7 +49,7 @@ $(document).ready(function(){
// Add drop shadows
$(".gSelected").dropShadow();
-
+
// In-place editing for tag admin
$(".gEditable").bind("click", editInplace);
@@ -77,7 +78,7 @@ function closeEditInPlaceForms() {
function editInplace(element){
closeEditInPlaceForms();
-
+
// creat edit form
var tag_id = $(this).attr('id').substr(5);
var tag_name = $(this).text();
@@ -88,7 +89,7 @@ function editInplace(element){
form += '<input type="submit" class="submit" value="Save" />';
form += '<span>or</span> <a href="#">cancel</a>';
form += '</form>';
-
+
// add edit form
$(this).parent().html(form);
$("#gRenameTagForm #name")