[fix] double insert

This commit is contained in:
Rushabh Mehta 2014-08-21 14:25:16 +05:30
parent 7cc0dbe310
commit eabcfa8a8e

View file

@ -564,6 +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);
$(document.activeElement).blur();
// let any pending js process finish