Merge "SwitchManager NB - Added URL info in response on successful creation of Node...
authorMadhu Venugopal <vmadhu@cisco.com>
Thu, 5 Sep 2013 03:56:15 +0000 (03:56 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 5 Sep 2013 03:56:15 +0000 (03:56 +0000)
opendaylight/web/devices/src/main/resources/js/page.js

index 103757264cce50de08747b6d43c2f44a20bfdcba..9524a76b012a1cb2d6a568aba3c51cb3ad975ac9 100644 (file)
@@ -464,6 +464,7 @@ one.f.switchmanager.subnetGatewayConfig = {
         }, 
         modal: {
             modal: "one_f_switchmanager_subnetGatewayConfig_id_modal_modal",
+                       ports : "one_f_switchmanager_subnetGatewayConfig_id_modal_ports",
             save: "one_f_switchmanager_subnetGatewayConfig_id_modal_save",
             form: {
                 name : "one_f_switchmanager_subnetGatewayConfig_id_modal_form_gatewayname",
@@ -586,7 +587,7 @@ one.f.switchmanager.subnetGatewayConfig = {
             ports: function() {
                 var h3 = "Add Ports";
                 var footer = one.f.switchmanager.subnetGatewayConfig.modal.footer();
-                var $modal = one.lib.modal.spawn(one.f.switchmanager.subnetGatewayConfig.id.modal.modal, h3, "", footer);
+                var $modal = one.lib.modal.spawn(one.f.switchmanager.subnetGatewayConfig.id.modal.ports, h3, "", footer);
                 // bind save button
                 $('#' + one.f.switchmanager.subnetGatewayConfig.id.modal.save, $modal).click(function() {
                     one.f.switchmanager.subnetGatewayConfig.modal.save.ports($modal);