From 248f97f99be4713449cc5fd8d2304074acaf52fd Mon Sep 17 00:00:00 2001 From: Saqib Ansari Date: Mon, 25 Oct 2021 18:41:56 +0530 Subject: [PATCH] fix: sider issues --- frappe/public/js/frappe/request.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frappe/public/js/frappe/request.js b/frappe/public/js/frappe/request.js index fc2367b37c..adc3bb5626 100644 --- a/frappe/public/js/frappe/request.js +++ b/frappe/public/js/frappe/request.js @@ -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,