Changeset 28317 for trunk/admin/themes/default
- Timestamp:
- Apr 30, 2014, 8:36:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/include/tag_selection.inc.tpl
r9586 r28317 1 1 {footer_script require='jquery'}{literal} 2 2 jQuery(document).ready(function(){ 3 jQuery(".tagSelection label").click(function () {3 jQuery(".tagSelection").on("click", "label", function () { 4 4 var parent = jQuery(this).parent('li'); 5 5 var checkbox = jQuery(this).children("input[type=checkbox]"); 6 6 7 7 if (jQuery(checkbox).is(':checked')) { 8 jQuery(parent).addClass("tagSelected");8 parent.addClass("tagSelected"); 9 9 } 10 10 else { 11 jQuery(parent).removeClass('tagSelected');11 parent.removeClass('tagSelected'); 12 12 } 13 13 });
Note: See TracChangeset
for help on using the changeset viewer.