Permalink
Browse files

Merge pull request #117 from Trevelopment/master

Add AA to _applicationsCtxtWiseAppNames for v59+
  • Loading branch information...
Trevelopment committed Jan 4, 2018
2 parents e78b736 + 1fd944b commit 96d3845b12cd26ef0f22da074fbd813b9c82f163
@@ -27,7 +27,10 @@ function addAdditionalApps() {
systemApp._masterApplicationDataList.items.push({ appData : { appName : additionalApp.name, isVisible : true, mmuiEvent : 'Select'+additionalApp.name }, text1Id : additionalApp.name, disabled : false, itemStyle : 'style01', hasCaret : false });
framework.localize._appDicts[systemAppId][additionalApp.name] = additionalApp.label;
framework.common._contextCategory._contextCategoryTable[additionalApp.name+'.*'] = category;
if (additionalApp.preload != null) {
if(typeof systemApp._applicationsCtxtWiseAppNames !== "undefined" && systemApp._applicationsCtxtWiseAppNames.Applications.indexOf(additionalApp.name) === -1) {
systemApp._applicationsCtxtWiseAppNames.Applications.push(additionalApp.name);
}
if (additionalApp.preload !== undefined) {
var preloadPath = "apps/" + additionalApp.name + "/js/" + additionalApp.preload;
utility.loadScript(preloadPath);
}

0 comments on commit 96d3845

Please sign in to comment.