From f8815d752083c207a66f29e4e7afa45f2823afb2 Mon Sep 17 00:00:00 2001 From: Andrew Kim Date: Wed, 4 Sep 2013 12:22:52 -0500 Subject: [PATCH] Correct modal ID Change-Id: I43af7e054b1ccad1fe3db003c649170cd8cb9ecc Signed-off-by: Andrew Kim --- opendaylight/web/devices/src/main/resources/js/page.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.36.6