reset the select fields after publish bulk action.
svn path=/plone.app.discussion/trunk/; revision=27733
This commit is contained in:
parent
450204fc43
commit
3a9068f643
@ -75,9 +75,12 @@ jq(document).ready(function() {
|
|||||||
var row = jq(this).parent().parent();
|
var row = jq(this).parent().parent();
|
||||||
var form = row.find("form.workflow_action");
|
var form = row.find("form.workflow_action");
|
||||||
var publishButton = row.find(".comment-publish-button");
|
var publishButton = row.find(".comment-publish-button");
|
||||||
|
var selectField = row.find("input:checkbox");
|
||||||
jq(publishButton).fadeOut("normal", function(){
|
jq(publishButton).fadeOut("normal", function(){
|
||||||
jq(form).remove();
|
jq(form).remove();
|
||||||
});
|
});
|
||||||
|
// reset the select fields
|
||||||
|
selectField.attr("checked","");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user