From cbf503a35616e5b003ed1c1273a86fbe26da68c4 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Tue, 11 Nov 2014 15:42:14 +0100 Subject: [PATCH] bug #3296: VNet wizard for 802.1Q driver always asks for PHYDEV (cherry picked from commit 28714d0ecfcc4cebe627bebd85d167eca6a1c893) --- src/sunstone/public/js/plugins/vnets-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/public/js/plugins/vnets-tab.js b/src/sunstone/public/js/plugins/vnets-tab.js index 2e8ae906f8..486c0c4ffa 100644 --- a/src/sunstone/public/js/plugins/vnets-tab.js +++ b/src/sunstone/public/js/plugins/vnets-tab.js @@ -1216,7 +1216,7 @@ function setupCreateVNetDialog() { $('select#vlan,label[for="vlan"]',$create_vn_dialog).show().prop('wizard_field_disabled', false); $('input#vlan_id,label[for="vlan_id"]',$create_vn_dialog).show().prop('wizard_field_disabled', false); - $('input#phydev',$create_vn_dialog).attr('required', ''); + $('input#phydev',$create_vn_dialog).removeAttr('required'); $('input#bridge',$create_vn_dialog).removeAttr('required'); break; case "ebtables":