diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 839e9c313..61f2d0acf 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -1026,7 +1026,7 @@ MM_AV_IP=AV IP MM_PIC_IP=Picture IP MM_PIC_URL=Picture URL MM_AV_URL=AV URL -#INLINE_IP_CB=Series IP +INLINE_IP_CB=IP Configuration MM_VOIP_IP=VoIP IP MM_VOIP_ACCOUNT=VoIP Account #=======================for import ip configuration================= diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index e17389a31..6398cffd9 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -1024,7 +1024,7 @@ MM_AV_IP=\u97F3\u89C6\u9891IP MM_PIC_IP=\u56FE\u7247IP MM_PIC_URL=\u56FE\u7247URL MM_AV_URL=\u97F3\u89C6\u9891URL -#INLINE_IP_CB=\u4E32\u8054IP +INLINE_IP_CB=IP\u914D\u7F6E MM_VOIP_IP=VoIP IP MM_VOIP_ACCOUNT=VoIP\u8D26\u53F7 #=======================for import ip configuration================= diff --git a/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipForm.jsp b/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipForm.jsp index 381a2b760..0ace63f15 100644 --- a/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipForm.jsp @@ -17,6 +17,8 @@ $("#cancel").on("click", function() { window.history.back(); });*/ + $(".glyphicon-plus").first().click(); + $(".ipPortList").find(".glyphicon-remove").addClass("hidden") var action=$(".action:checked").val(); if(action==32||action==96){ $(".subscribeId").find(".glyphicon-remove").click(); @@ -41,18 +43,18 @@ var regioncode=$(this).attr("regioncode"); var hasRegioncode=false; var arr=regioncode.split(','); - var cfgType,cfgRegionCode; + var cfgType,cfgRegionCode,i18nCode; for(var re in arr){ if($("[id='cfgRegionCode"+arr[re]+"']")&&$("[id='cfgRegionCode"+arr[re]+"']").attr("regionType")==1){ regioncode=arr[re]; cfgType=$("[id='cfgType"+arr[re]+"']").val(); + i18nCode=$("[id='cfgType"+arr[re]+"']").attr("i18nCode"); cfgRegionCode=$("[id='cfgRegionCode"+arr[re]+"']").val(); } } $("h4[class*='ipPortListTitle']").each(function(){ - var html=""; - $(this).find(".ipPortTitle").html(html); + $(this).find(".ipPortTitle").html(i18nCode); }); var tabInfo=$(".ipPortList"); if(tabInfo){ @@ -213,7 +215,9 @@ - +