fix: save button should not remain disabled when the system is offline

This commit is contained in:
Suraj Shetty 2019-04-15 14:38:09 +05:30
parent 1c008df029
commit e4e2a6c310

View file

@ -30,7 +30,8 @@ frappe.call = function(opts) {
indicator: 'orange',
message: __('You are not connected to Internet. Retry after sometime.')
}, 3);
return;
opts.always && opts.always();
return $.ajax();
}
if (typeof arguments[0]==='string') {
opts = {