summaryrefslogtreecommitdiff
path: root/src/main/webapp/static
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/static')
-rw-r--r--src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_ru.js2
-rw-r--r--src/main/webapp/static/global/scripts/pzLog.js7
2 files changed, 6 insertions, 3 deletions
diff --git a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_ru.js b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_ru.js
index 02d38e4..66abd1b 100644
--- a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_ru.js
+++ b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_ru.js
@@ -69,7 +69,7 @@
haveInvisibleChar:"Теги {0} включают невидимый символ",
httpCheck:"Введите правильный URL(http[s]://xxx.xx)",
failed:"Неудачно",
- go_back:"Вернуть назад Политики",
+ go_back:"Назад",
log_5_minutes:"Журнал за последние пять минут",
log_1_hour:"Журнал За последний час",
input:"Введите, пожалуйста ",
diff --git a/src/main/webapp/static/global/scripts/pzLog.js b/src/main/webapp/static/global/scripts/pzLog.js
index 1871377..cd20586 100644
--- a/src/main/webapp/static/global/scripts/pzLog.js
+++ b/src/main/webapp/static/global/scripts/pzLog.js
@@ -114,7 +114,7 @@ var toLogSearch = function(index){
var date=$(this).attr("date");
var pathName=window.document.location.pathname.substring(0,window.document.location.pathname.indexOf("/nis")+4);
- switchMenu("152");
+ switchMenu("152",functionId);
window.location.href = pathName+"/toLogSearch?service="+serviceId+"&functionId="+functionId+"&cfgId="+compileId+"&date="+date+"&isLogTotalSearch=yes";
}
@@ -122,7 +122,7 @@ var toLogSearch = function(index){
}
-var switchMenu = function(topMenuId){
+var switchMenu = function(topMenuId,functionId){
// 顶部菜单切换 menuId: Policies/86 Logs/152
$(".hor-menu ul li",parent.document).each(function(){
var id = $(this).children("a").attr("id");
@@ -144,6 +144,9 @@ var switchMenu = function(topMenuId){
middleMenu.push($(this).attr("menu-name"));
}
});
+ if(functionId == 8){
+ middleMenu.pop();
+ }
// 左侧菜单切换
$(".page-sidebar",parent.document).find("ul[id]").each(function(){