Changeset 22368


Ignore:
Timestamp:
Apr 26, 2013, 9:58:06 PM (11 years ago)
Author:
rvelices
Message:

group_list compatibility with jquery 1.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/group_list.tpl

    r19292 r22368  
    1717      $("#forbidAction").hide();
    1818    }
    19     $("p[group_id="+$(this).attr("value")+"]").each(function () {
     19    $("p[group_id="+$(this).prop("value")+"]").each(function () {
    2020     $(this).toggle();
    2121    });
    22    
     22
    2323    if (nbSelected<2) {
    2424      $("#two_to_select").show();
     
    3333  $("select[name=selectAction]").change(function () {
    3434    $("[id^=action_]").hide();
    35     $("#action_"+$(this).attr("value")).show(); 
     35    $("#action_"+$(this).prop("value")).show();
    3636    if ($(this).val() != -1) {
    3737      $("#applyActionBlock").show();
     
    6060    <input type="text" id="groupname" name="groupname" maxlength="50" size="20">
    6161                <input type="submit" name="submit_add" value="{'Add'|@translate}">
    62                 <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 
     62                <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    6363
    6464  </fieldset>
     
    6666<form method="post" name="add_user" action="{$F_ADD_ACTION}" class="properties">
    6767  <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    68  
     68
    6969  <table class="table2">
    7070    <tr class="throw">
     
    8383    {/if}
    8484  </table>
    85  
     85
    8686  <fieldset id="action">
    8787    <legend>{'Action'|@translate}</legend>
     
    175175        {/if}
    176176        </div>
    177    
    178    
     177
     178
    179179        <!-- plugins -->
    180180    {if !empty($element_set_groupe_plugins_actions)}
     
    185185      {/foreach}
    186186    {/if}
    187    
     187
    188188        <p id="applyActionBlock" style="display:none" class="actionButtons">
    189189          <input id="applyAction" class="submit" type="submit" value="{'Apply action'|@translate}" name="submit"> <span id="applyOnDetails"></span></p>
Note: See TracChangeset for help on using the changeset viewer.