Changeset 26607 for extensions/plugin_lang_analysis/template/config.tpl
- Timestamp:
- Jan 11, 2014, 12:00:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/plugin_lang_analysis/template/config.tpl
r26059 r26607 22 22 } 23 23 }); 24 25 $('.switch-button.ignore span').click(function() { 26 if ($(this).hasClass('active')) { 27 $(this).removeClass('active'); 28 $(this).next('input').val('false'); 29 } 30 else { 31 $(this).addClass('active'); 32 $(this).next('input').val('true'); 33 } 34 }); 24 35 {/literal}{/footer_script} 25 36 … … 34 45 <th>{'Core dependency'|translate}</th> 35 46 <th>{'Local dependencies'|translate}</th> 47 <th>{'Ignore'|translate}</th> 36 48 </tr> 37 49 </thead> … … 56 68 </div> 57 69 </td> 70 <td> 71 <div class="switch-button ignore"> 72 <span class="item ignore {if $file.ignore}active{/if}">×</span> 73 <input type="hidden" name="files[{$file.path}][ignore]" value="{if $file.ignore}true{else}false{/if}"> 74 </div> 75 </td> 58 76 </tr> 59 77 {/foreach}
Note: See TracChangeset
for help on using the changeset viewer.