From 48a2bd467170bb35e7531d8f99e2752faa95c2f5 Mon Sep 17 00:00:00 2001 From: Issac Kelly Date: Tue, 5 Apr 2011 14:13:08 -0400 Subject: [PATCH] correctly toggle adminboxes --- servee/__init__.py | 2 +- servee/frontendadmin/templates/servee/wysiwyg/tools.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/servee/__init__.py b/servee/__init__.py index 59db981..dd76046 100644 --- a/servee/__init__.py +++ b/servee/__init__.py @@ -1,5 +1,5 @@ VERSION = (0, 6, 0, "a", 1) # following PEP 386 -DEV_N = "18" +DEV_N = "19" # cribbed from pinax diff --git a/servee/frontendadmin/templates/servee/wysiwyg/tools.html b/servee/frontendadmin/templates/servee/wysiwyg/tools.html index fe1895e..13239e6 100644 --- a/servee/frontendadmin/templates/servee/wysiwyg/tools.html +++ b/servee/frontendadmin/templates/servee/wysiwyg/tools.html @@ -251,6 +251,7 @@
Heading 6
srv_hide_adminBox(ab); } else{ + srv_hide_all_adminBox(); srv_show_adminBox(ab); } } @@ -260,7 +261,7 @@
Heading 6
/** Animation Hide **/ - $("#"+ab).removeClass("out"); + $("#"+ab).removeClass("out").find("*").removeClass("out"); $("#srv_wysiwyg_tools").removeClass(ab); srv_admin_boxes[ab].shown = false; if(move_wysiwyg){