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:
Timo Stollenwerk 2009-06-29 11:15:37 +00:00
parent dd7f59c104
commit 5885be08cc

View File

@ -8,13 +8,11 @@ jq(document).ready(function() {
jq(this).parents("table")
.find("input:checkbox")
.attr("checked","checked")
.val("1");
}
else{
jq(this).parents("table")
.find("input:checkbox")
.attr("checked","")
.val("0");
}
});