fix: sider issues
This commit is contained in:
parent
0cdbde3f3f
commit
248f97f99b
1 changed files with 9 additions and 9 deletions
|
|
@ -207,23 +207,23 @@ frappe.request.call = function(opts) {
|
|||
};
|
||||
|
||||
var exception_handlers = {
|
||||
'QueryTimeoutError': function(data) {
|
||||
'QueryTimeoutError': function() {
|
||||
frappe.utils.play_sound("error");
|
||||
frappe.msgprint({
|
||||
title:__('Request Timeout'),
|
||||
indicator:'red',
|
||||
message:__("Server was too busy to process this request. Please try again.")
|
||||
title: __('Request Timeout'),
|
||||
indicator: 'red',
|
||||
message: __("Server was too busy to process this request. Please try again.")
|
||||
});
|
||||
},
|
||||
'QueryDeadlockError': function(data) {
|
||||
'QueryDeadlockError': function() {
|
||||
frappe.utils.play_sound("error");
|
||||
frappe.msgprint({
|
||||
title:__('Deadlock Occurred'),
|
||||
indicator:'red',
|
||||
message:__("Server was too busy to process this request. Please try again.")
|
||||
title: __('Deadlock Occurred'),
|
||||
indicator: 'red',
|
||||
message: __("Server was too busy to process this request. Please try again.")
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var ajax_args = {
|
||||
url: opts.url || frappe.request.url,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue