Ensure RED._ is defined before initialising settings

- remove permissions requirement from locales files so the
   login dialog can be nls'd
This commit is contained in:
Nick O'Leary
2015-07-08 17:07:14 +01:00
parent d0af4aac4d
commit f70e9ea076
2 changed files with 11 additions and 13 deletions

View File

@@ -16,10 +16,6 @@
var RED = (function() {
function loadLocales() {
RED.i18n.init(loadEditor);
}
function loadNodeList() {
$.ajax({
headers: {
@@ -225,7 +221,9 @@ var RED = (function() {
ace.require("ace/ext/language_tools");
RED.settings.init(loadLocales);
RED.i18n.init(function() {
RED.settings.init(loadEditor);
})
});