ans ip 界面默认展开一个ip,同时必须保留一个IP
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
var defaultIpInfo;
|
||||
$(function(){
|
||||
defaultIpInfo=$(".ipInfo").clone();
|
||||
$(".asnIpAdd").click();
|
||||
$("#cfgFrom").validate({
|
||||
errorPlacement: function(error,element){
|
||||
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
|
||||
@@ -40,6 +41,10 @@ var addContent = function(obj, contentClassName) {
|
||||
|
||||
//业务窗口关闭
|
||||
var delContent = function(obj,contentClassName) {
|
||||
if($("."+contentClassName).length==1){
|
||||
top.$.jBox.tip("<spring:message code='one_more'/>");
|
||||
return;
|
||||
}
|
||||
$(obj).parents("."+contentClassName).remove();
|
||||
var index=0;
|
||||
$("."+contentClassName).each(function(){
|
||||
|
||||
Reference in New Issue
Block a user