Merge pull request #7279 from surajshetty3416/fix-offline-save-button
fix: save button should not remain disabled when the system is offline
This commit is contained in:
commit
a751e1c37a
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