Changeset 22812 for trunk/admin/themes/default/template/comments.tpl
- Timestamp:
- May 21, 2013, 11:02:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/comments.tpl
r18064 r22812 16 16 var checkbox = jQuery(this).children("input[type=checkbox]"); 17 17 if (event.target.type !== 'checkbox') { 18 jQuery(checkbox). attr('checked', !jQuery(checkbox).is(':checked'));18 jQuery(checkbox).prop('checked', !jQuery(checkbox).prop('checked')); 19 19 } 20 20 highlighComments(); … … 22 22 23 23 jQuery("#commentSelectAll").click(function () { 24 jQuery(".checkComment input[type=checkbox]"). attr('checked', true);24 jQuery(".checkComment input[type=checkbox]").prop('checked', true); 25 25 highlighComments(); 26 26 return false; … … 28 28 29 29 jQuery("#commentSelectNone").click(function () { 30 jQuery(".checkComment input[type=checkbox]"). attr('checked', false);30 jQuery(".checkComment input[type=checkbox]").prop('checked', false); 31 31 highlighComments(); 32 32 return false; … … 35 35 jQuery("#commentSelectInvert").click(function () { 36 36 jQuery(".checkComment input[type=checkbox]").each(function() { 37 jQuery(this). attr('checked', !$(this).is(':checked'));37 jQuery(this).prop('checked', !$(this).prop('checked')); 38 38 }); 39 39 highlighComments(); … … 44 44 {/literal}{/footer_script} 45 45 46 <div class="titrePage"> 47 <h2>{'Pending Comments'|@translate} {$TABSHEET_TITLE}</h2> 48 </div> 46 <h2>{'Pending Comments'|@translate} {$TABSHEET_TITLE}</h2> 49 47 50 48 {if !empty($comments) } … … 76 74 77 75 <p class="bottomButtons"> 78 <input class="submit"type="submit" name="validate" value="{'Validate'|@translate}">79 <input class="submit"type="submit" name="reject" value="{'Reject'|@translate}">76 <input type="submit" name="validate" value="{'Validate'|@translate}"> 77 <input type="submit" name="reject" value="{'Reject'|@translate}"> 80 78 </p> 81 79
Note: See TracChangeset
for help on using the changeset viewer.