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
4c6421abf7
commit
fc14cead15
|
|
@ -71,6 +71,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()) {
|
||||
|
|
@ -156,4 +161,4 @@
|
|||
}
|
||||
};
|
||||
};
|
||||
}(cloudStack, jQuery));
|
||||
}(cloudStack, jQuery));
|
||||
|
|
|
|||
Loading…
Reference in New Issue