From e01f669fb028c26a6192587661c999826b1f25a6 Mon Sep 17 00:00:00 2001 From: Zaphod Date: Wed, 28 Mar 2012 18:44:10 +0000 Subject: feature 2588: bug correction on picture.tpl (privacylevelbox) git-svn-id: http://piwigo.org/svn/trunk@13787 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/picture.tpl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'themes/default') diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 87d813713..723c0bc8c 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -288,10 +288,8 @@ y.callService( method: "POST", onFailure: function(num, text) { alert(num + " " + text); }, onSuccess: function(result) { - jQuery('.levelCheck').hide(); - jQuery('#levelCheck'+level).show(); - jQuery('#privacyLevelBox .switchSelected').css('visibility','hidden'); - jQuery('#switchLevel'+level).css('visibility','visible'); + jQuery('#privacyLevelBox .switchCheck').css('visibility','hidden'); + jQuery('#levelCheck'+level).css('visibility','visible'); } } ); @@ -314,8 +312,8 @@ function togglePrivacyLevelBox() -- cgit v1.2.3