Skip to content
Snippets Groups Projects
Commit d32b4e20 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Disable save button on `QfqForm#handleConflict()`.

parent 31321829
No related branches found
No related tags found
No related merge requests found
......@@ -792,6 +792,11 @@ var QfqNS = QfqNS || {};
*
*/
n.QfqForm.prototype.handleConflict = function (form, data) {
this.setButtonEnabled(this.getSaveButton(), false);
this.getSaveButton().removeClass(this.getSaveButtonAttentionClass());
this.setButtonEnabled(this.getDeleteButton(), false);
this.formImmutableDueToConcurrentAccess = true;
this.lockAcquired = false;
var alert = new n.Alert(data.message, "error");
alert.show();
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment