mirror of https://github.com/apache/cloudstack.git
CS-15851:Intervlan - VMware - Enable Static NAT > if no tier selected> Apply> Status should display 'Please select a tier'
This commit is contained in:
parent
dd7a0da9a7
commit
8f34776dd8
|
|
@ -75,6 +75,11 @@
|
|||
text: _l('label.apply'),
|
||||
'class': 'ok',
|
||||
click: function() {
|
||||
if ($dataList.find('.tier-select select').val() == -1) {
|
||||
cloudStack.dialog.notice({ message: ('Please select a tier')});
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!$dataList.find(
|
||||
'input[type=radio]:checked, input[type=checkbox]:checked'
|
||||
).size()) {
|
||||
|
|
@ -160,4 +165,4 @@
|
|||
}
|
||||
};
|
||||
};
|
||||
}(cloudStack, jQuery));
|
||||
}(cloudStack, jQuery));
|
||||
|
|
|
|||
Loading…
Reference in New Issue