Changeset 13787


Ignore:
Timestamp:
03/28/12 20:44:10 (8 years ago)
Author:
Zaphod
Message:

feature 2588: bug correction on picture.tpl (privacylevelbox)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/picture.tpl

    r13782 r13787  
    289289                onFailure: function(num, text) { alert(num + " " + text); }, 
    290290                onSuccess: function(result) { 
    291                           jQuery('.levelCheck').hide(); 
    292                           jQuery('#levelCheck'+level).show(); 
    293                           jQuery('#privacyLevelBox .switchSelected').css('visibility','hidden'); 
    294                           jQuery('#switchLevel'+level).css('visibility','visible'); 
     291                          jQuery('#privacyLevelBox .switchCheck').css('visibility','hidden'); 
     292                          jQuery('#levelCheck'+level).css('visibility','visible'); 
    295293                } 
    296294        } 
     
    315313                        <div id="privacyLevelBox" class="switchBox" onclick="togglePrivacyLevelBox()" style="display:none" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||togglePrivacyLevelBox()"> 
    316314                                {foreach from=$available_permission_levels item=label key=level} 
    317                                         <span id="levelCheck{$level}" class="levelCheck switchCheck" {if $level != $current.level}style="visibility:hidden"{/if}>&#x2714; </span> 
    318                                         <a id="switchLevel{$level}" {if $level == $current.level}class="switchSelected"{else}class="switchUnselected"{/if} href="javascript:setPrivacyLevel('{$ROOT_URL}', {$current.id}, {$level})">{$label}</a><br> 
     315                                        <span id="levelCheck{$level}" class="switchCheck" {if $level != $current.level} style="visibility:hidden"{/if}>&#x2714; </span> 
     316                                        <a id="switchLevel{$level}" href="javascript:setPrivacyLevel('{$ROOT_URL}', {$current.id}, {$level})">{$label}</a><br> 
    319317                                {/foreach} 
    320318                        </div> 
Note: See TracChangeset for help on using the changeset viewer.