Last change
on this file since 24975 was
9586,
checked in by patdenice, 13 years ago
|
feature:2114
Simplify all admin templates.
|
File size:
440 bytes
|
Line | |
---|
1 | {footer_script require='jquery'}{literal} |
---|
2 | jQuery(document).ready(function(){ |
---|
3 | jQuery(".tagSelection label").click(function () { |
---|
4 | var parent = jQuery(this).parent('li'); |
---|
5 | var checkbox = jQuery(this).children("input[type=checkbox]"); |
---|
6 | |
---|
7 | if (jQuery(checkbox).is(':checked')) { |
---|
8 | jQuery(parent).addClass("tagSelected"); |
---|
9 | } |
---|
10 | else { |
---|
11 | jQuery(parent).removeClass('tagSelected'); |
---|
12 | } |
---|
13 | }); |
---|
14 | }); |
---|
15 | {/literal}{/footer_script} |
---|
Note: See
TracBrowser
for help on using the repository browser.