[fix] double insert
This commit is contained in:
parent
eabcfa8a8e
commit
76ee6db32a
1 changed files with 1 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ _f.Frm.prototype.reload_doc = function() {
|
|||
|
||||
var validated;
|
||||
_f.Frm.prototype.save = function(save_action, callback, btn, on_error) {
|
||||
$(btn).prop("disabled", true);
|
||||
btn && $(btn).prop("disabled", true);
|
||||
$(document.activeElement).blur();
|
||||
|
||||
// let any pending js process finish
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue