mirror of https://github.com/apache/cloudstack.git
bug 13271: Fix zone wizard vlan range validation
status 13271: resolved fixed
This commit is contained in:
parent
414c55cd03
commit
17358cce99
|
|
@ -560,6 +560,8 @@
|
|||
.attr({ id: networkID })
|
||||
.append($form)
|
||||
);
|
||||
|
||||
$form.validate();
|
||||
});
|
||||
|
||||
$tabs.find('li:first').addClass('first');
|
||||
|
|
@ -937,7 +939,7 @@
|
|||
if ($target.closest('div.button.next').size()) {
|
||||
var $step = $steps.filter(':visible');
|
||||
// Validation
|
||||
var $form = $step.find('form').filter(function() {
|
||||
var $form = $('form:visible').filter(function() {
|
||||
// Don't include multi-edit (validation happens separately)
|
||||
return !$(this).closest('.multi-edit').size();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
vlanRange: {
|
||||
label: 'VLAN Range',
|
||||
range: ['vlanRangeStart', 'vlanRangeEnd'],
|
||||
validation: { required: true }
|
||||
validation: { required: true, digits: true }
|
||||
}
|
||||
//Advanced (end)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue