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:
Suraj Shetty 2019-04-16 17:08:25 +05:30 committed by GitHub
commit a751e1c37a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = {