feature #2909: Remove template_nic if the default mic is changed for an existing template

This commit is contained in:
Daniel Molina committed 2014-06-25 19:13:15 +02:00
1 parent f4f9a38173
commit 3ad033a651
1 file changed
+1
@@ -2291,6 +2291,7 @@ function generate_provision_network_table(context, nic, vnet_attr){
'<span style="color: #777;">' + $(this).attr("opennebula_name") + "</span>");
$(".selected_network", dd_context).attr("opennebula_id", $(this).attr("opennebula_id"))
$(".selected_network", dd_context).removeAttr("template_nic")
$('a', dd_context).first().trigger("click");
})