From: Andrew Kim Date: Wed, 4 Sep 2013 17:22:52 +0000 (-0500) Subject: Correct modal ID X-Git-Tag: releasepom-0.1.0~130 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=refs%2Fchanges%2F91%2F1091%2F1 Correct modal ID Change-Id: I43af7e054b1ccad1fe3db003c649170cd8cb9ecc Signed-off-by: Andrew Kim --- diff --git a/opendaylight/web/devices/src/main/resources/js/page.js b/opendaylight/web/devices/src/main/resources/js/page.js index 103757264c..9524a76b01 100644 --- a/opendaylight/web/devices/src/main/resources/js/page.js +++ b/opendaylight/web/devices/src/main/resources/js/page.js @@ -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);