reset the select fields after publish bulk action.

svn path=/plone.app.discussion/trunk/; revision=27733
This commit is contained in:
Timo Stollenwerk 2009-06-29 20:32:05 +00:00
parent 450204fc43
commit 3a9068f643
1 changed files with 3 additions and 0 deletions

View File

@ -75,9 +75,12 @@ jq(document).ready(function() {
var row = jq(this).parent().parent();
var form = row.find("form.workflow_action");
var publishButton = row.find(".comment-publish-button");
var selectField = row.find("input:checkbox");
jq(publishButton).fadeOut("normal", function(){
jq(form).remove();
});
// reset the select fields
selectField.attr("checked","");
}
});
});