In Firefox DropDown sub menus will have the first option selected 06/1306/1
authorSapan Shah <sapshah@cisco.com>
Fri, 20 Sep 2013 05:32:16 +0000 (22:32 -0700)
committerSapan Shah <sapshah@cisco.com>
Fri, 20 Sep 2013 05:32:16 +0000 (22:32 -0700)
Change-Id: Ib7ea1fbfc0cbe3c8921116ffc7f79ac7b9d9f654
Signed-off-by: Sapan Shah <sapshah@cisco.com>
opendaylight/web/devices/src/main/resources/js/page.js

index 2488d06d0cae7745a4efc58c8d8a42ff1f565271..e6f75c2c3847d57b7c2b71f46ec5972550706f08 100644 (file)
@@ -1326,6 +1326,7 @@ one.f.switchmanager.spanPortConfig = {
             var $label = one.lib.form.label("Node");
             var $select = one.lib.form.select.create(nodes);
             one.lib.form.select.prepend($select, { '' : 'Please Select a Node' });
+            $select.val($select.find("option:first").val());
             $select.attr('id', one.f.switchmanager.spanPortConfig.id.modal.form.nodes);
             
             // bind onchange