aboutsummaryrefslogtreecommitdiff
path: root/web/app/ErrorManager.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 21:39:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 21:39:38 +1300
commit8416025e932669550c166cfc4263d55c149eed89 (patch)
tree904f1c29af8b76784583da62fe85a270d5c01e9a /web/app/ErrorManager.js
parent04e63f9b42991008843f3f9d1788fa6933bd57b3 (diff)
downloadtrackermap-server-8416025e932669550c166cfc4263d55c149eed89.tar.gz
trackermap-server-8416025e932669550c166cfc4263d55c149eed89.tar.bz2
trackermap-server-8416025e932669550c166cfc4263d55c149eed89.zip
Rename strings global variable
Diffstat (limited to 'web/app/ErrorManager.js')
-rw-r--r--web/app/ErrorManager.js8
1 files changed, 4 insertions, 4 deletions
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);
}
});