comments: do a better reset state.
This commit is contained in:
parent
6ccb2377c3
commit
e18c9b0cec
1 changed files with 7 additions and 0 deletions
|
|
@ -298,6 +298,13 @@ var bindToggleButtons = function() {
|
|||
this.setActionButtonsDisabled(true);
|
||||
self.cm.setValue(content);
|
||||
self.cm.setOption("readOnly", false);
|
||||
|
||||
if (this.resolvesId) {
|
||||
// destroy the resolve action
|
||||
$(this.resolvesId).parent().remove();
|
||||
}
|
||||
|
||||
$(this.statusChange).select2('readonly', false);
|
||||
};
|
||||
|
||||
this.submitAjaxPOST = function(url, postData, successHandler, failHandler) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue