fix: save button should not remain disabled when the system is offline
This commit is contained in:
parent
1c008df029
commit
e4e2a6c310
1 changed files with 2 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue