aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js
diff options
context:
space:
mode:
author“shentao” <shentao@chinamobile.com>2016-11-07 13:30:31 +0800
committer“shentao” <shentao@chinamobile.com>2016-11-07 13:30:31 +0800
commit1799c18416ccb7e2bac1fd6aabcb74521f65da24 (patch)
treecb8a28f29d2cf52fab37219ed5cb630a58267613 /openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js
parentcf298fc4149e52135d5a712b345ac206abfc88cb (diff)
GSO-102
Change-Id: Iabd63832ff4682eff83b37fa07481bcdd91c6b30 Signed-off-by: “shentao” <shentao@chinamobile.com>
Diffstat (limited to 'openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js')
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js b/openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js
index c56952e5..972e782b 100644
--- a/openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js
+++ b/openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js
@@ -39,7 +39,7 @@ var initLeftMenu = function() {
"</a>";
var templateChild = "<li>" +
- "<a href='{url}' class='iframe'>" +
+ "<a href='{url}' class='iframe' id='{hrefId}'>" +
"<i class='{iconClass}'></i>" +
"<span id='{id}' name_i18n='{i18nName}'></span>" +
"</a>" +
@@ -57,6 +57,7 @@ var initLeftMenu = function() {
childMenuContent = childMenuContent + templateChild.replace("{id}", childMenus[j].id)
.replace("{url}", childMenus[j].url)
.replace("{iconClass}", childMenus[j].iconClass)
+ .replace("{hrefId}", childMenus[j].id + "_href")
.replace("{i18nName}", i18nName);
}
}