下拉框相关脚本放到各自自己的脚本中
This commit is contained in:
parent
6e1a306ac6
commit
f45d600b34
|
@ -168,8 +168,6 @@ $(function () {
|
|||
return this.optional(element) || /^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$/.test(value);
|
||||
}, "请填写正确的IP地址");
|
||||
}
|
||||
// select
|
||||
$('select').selectpicker();
|
||||
|
||||
// tool tips
|
||||
$('.tooltips').tooltip();
|
||||
|
|
|
@ -160,4 +160,7 @@
|
|||
});
|
||||
|
||||
$('#nestable_menu').nestable();
|
||||
|
||||
// select
|
||||
$('select').selectpicker();
|
||||
});
|
Loading…
Reference in New Issue