aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js')
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js b/openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js
index a51d9ca9..3ba0f7ba 100644
--- a/openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js
+++ b/openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js
@@ -15,18 +15,17 @@
*/
var initMainPage = function() {
var modules;
- var resConfig;
- var propertiesFileName = "";
+ var propertiesFilePath = "i18n/";
+ var propertiesFileName = "web-framework-mainPage-i18n";
+ var i18nName = "openo_main_page_i18n";
$.ajax({
async : false,
"type" : "GET",
- url : "json/main-page.json",
+ url : "json/main_page.json",
dataType : "json",
"success" : function (res, textStatus, jqXHR) {
- resConfig = res;
modules = res.modules;
- propertiesFileName = res.propertiesFileNamePrefix;
},
error : function () {
}
@@ -91,6 +90,6 @@ var initMainPage = function() {
}
});
- loadi18n_WebFramework(propertiesFileName, 'i18n/', 'openo_main_page_i18n');
+ loadi18n_WebFramework(propertiesFileName, propertiesFilePath, i18nName);
});
} \ No newline at end of file