mirror of https://github.com/apache/cloudstack.git
Fix enable static NAT dialog
Require VM selection, or pop-up error message -- prevents server call from being made without a required VM.
This commit is contained in:
parent
16ff38d0fd
commit
ba4f814d90
|
|
@ -56,6 +56,14 @@
|
|||
text: 'Apply',
|
||||
'class': 'ok',
|
||||
click: function() {
|
||||
if (!$dataList.find(
|
||||
'input[type=radio]:checked, input[type=checkbox]:checked'
|
||||
).size()) {
|
||||
cloudStack.dialog.notice({ message: 'Please select an instance '});
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
var complete = args.complete;
|
||||
|
||||
$dataList.fadeOut(function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue