From 8416025e932669550c166cfc4263d55c149eed89 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 3 Oct 2015 21:39:38 +1300 Subject: Rename strings global variable --- web/app/ErrorManager.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'web/app/ErrorManager.js') diff --git a/web/app/ErrorManager.js b/web/app/ErrorManager.js index 2a787fdea..e98b29d0f 100644 --- a/web/app/ErrorManager.js +++ b/web/app/ErrorManager.js @@ -26,21 +26,21 @@ if (result.success || result.error === undefined) { return true; } else { - Ext.Msg.alert(strings.errorTitle, result.error); + Ext.Msg.alert(Strings.errorTitle, result.error); return false; } } else { if (response.statusText) { - Ext.Msg.alert(strings.errorTitle, response.statusText); + Ext.Msg.alert(Strings.errorTitle, response.statusText); } else { - Ext.Msg.alert(strings.errorTitle, response.status.toString()); // TODO: text message + Ext.Msg.alert(Strings.errorTitle, response.status.toString()); // TODO: text message } return false; } }, error: function (message) { - Ext.Msg.alert(strings.errorTitle, message); + Ext.Msg.alert(Strings.errorTitle, message); } }); -- cgit v1.2.3