fix select all JS for moderation view (do not override the checkbox value).
svn path=/plone.app.discussion/trunk/; revision=27716
This commit is contained in:
parent
dd7f59c104
commit
5885be08cc
@ -8,13 +8,11 @@ jq(document).ready(function() {
|
|||||||
jq(this).parents("table")
|
jq(this).parents("table")
|
||||||
.find("input:checkbox")
|
.find("input:checkbox")
|
||||||
.attr("checked","checked")
|
.attr("checked","checked")
|
||||||
.val("1");
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
jq(this).parents("table")
|
jq(this).parents("table")
|
||||||
.find("input:checkbox")
|
.find("input:checkbox")
|
||||||
.attr("checked","")
|
.attr("checked","")
|
||||||
.val("0");
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user