(1)删除调用switchIpType方法的页面相关代码
(2)Stream列表页面展示表单Block,ratelimt有定时任务没有IP时的错位问题
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<c:if test="${fn:length(tabList)==0}">
|
||||
<c:if test="${fn:length(tabList)==0 and empty _cfg.schedule}">
|
||||
<div id="NTC_UNIVERSAL_IPTitle${index}" onclick="switchSubCfgTabInfo('NTC_UNIVERSAL_IP',${index})"
|
||||
class="col-md-1 tabInfo badge-info" name="tabTitle">
|
||||
<spring:message code='NTC_UNIVERSAL_IP' />
|
||||
|
||||
@@ -21,7 +21,6 @@ $(function(){
|
||||
fileType=["mp4","flv","asf","wmv","avi","mpeg","mov","dat","m4v","m4p","m4b","webm","wav","mp3"];
|
||||
}
|
||||
$("#fileNoteInfo").attr("title","<spring:message code='select_file'/>: "+fileType);
|
||||
switchIpType($("select[name$='ipType']"));
|
||||
areaControlInit();
|
||||
$("input[name='isAreaEffective']").on('change',function(){
|
||||
var val=$(this).val();
|
||||
@@ -38,9 +37,6 @@ $(function(){
|
||||
$("#areaIsp").addClass("hidden");
|
||||
}
|
||||
});
|
||||
$("select[name$='ipType']").on("change",function(){
|
||||
switchIpType($(this));
|
||||
});
|
||||
$("#uploadSrc,#srcFileInfo").on('click',function(){
|
||||
$("#srcFile").trigger("click");
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
switchIpType($("select[name$='ipType']"));
|
||||
areaControlInit();
|
||||
$("input[name='isAreaEffective']").on('change',function(){
|
||||
var val=$(this).val();
|
||||
@@ -24,9 +23,6 @@ $(function(){
|
||||
$("#areaIsp").addClass("hidden");
|
||||
}
|
||||
});
|
||||
$("select[name$='ipType']").on("change",function(){
|
||||
switchIpType($(this));
|
||||
});
|
||||
$("input[name='areaType']").on('change',function(){
|
||||
var val=$(this).val();
|
||||
if($(this).is(":visible")){
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<c:if test="${fn:length(tabList)==0}">
|
||||
<c:if test="${fn:length(tabList)==0 and empty _cfg.schedule}">
|
||||
<div id="NTC_UNIVERSAL_IPTitle${index}" onclick="switchSubCfgTabInfo('NTC_UNIVERSAL_IP',${index})"
|
||||
class="col-md-1 tabInfo badge-info" name="tabTitle">
|
||||
<spring:message code='NTC_UNIVERSAL_IP' />
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
rel="stylesheet" />
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
switchIpType($("select[name$='ipType']"));
|
||||
areaControlInit();
|
||||
$("select[name='cfgType']").on('change', function() {
|
||||
var val = $(this).val();
|
||||
@@ -48,9 +47,6 @@
|
||||
$("#areaIp").addClass("hidden");
|
||||
}
|
||||
});
|
||||
$("select[name$='ipType']").on("change", function() {
|
||||
switchIpType($(this));
|
||||
});
|
||||
$("#ipCfgFrom").validate(
|
||||
{
|
||||
errorPlacement : function(error, element) {
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
<title><spring:message code="${cfgName}"></spring:message></title>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
switchIpType($("select[name$='ipType']"));
|
||||
areaControlInit();
|
||||
$("[name^='ipCfg']").attr("disabled",true);
|
||||
$("[name^='stringCfg']").attr("disabled",true);
|
||||
@@ -168,11 +167,6 @@ $(function(){
|
||||
}
|
||||
|
||||
});
|
||||
$(".ipType").on("change",function(){
|
||||
var tableName=$(this).attr("name").replace(".ipType","");
|
||||
switchIpType($(".ipType"));
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user