mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
Bug #3607: Make vnet table selection mandatory
This commit is contained in:
parent
5a17329019
commit
6240380f97
@ -45,6 +45,7 @@ function initialize_create_security_group_dialog(dialog){
|
||||
dialog.on("change", '.security_group_rule_network_sel', function(){
|
||||
$('.security_group_rule_network',dialog).hide();
|
||||
$('div.security_group_rule_network input',dialog).removeAttr('required');
|
||||
$("input#selected_resource_id_"+"new_sg_rule", dialog).removeAttr("required");
|
||||
|
||||
$('.vnet_select',dialog).hide();
|
||||
|
||||
@ -57,6 +58,7 @@ function initialize_create_security_group_dialog(dialog){
|
||||
break;
|
||||
case "VNET":
|
||||
$('.vnet_select',dialog).show();
|
||||
$("input#selected_resource_id_"+"new_sg_rule", dialog).attr("required", "");
|
||||
|
||||
refreshVNetTableSelect(dialog, "new_sg_rule");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user