From 31ff3623e58ac03b9b5e122160adf805d5be7c19 Mon Sep 17 00:00:00 2001 From: Siva Kumar Bavanasi Date: Mon, 23 May 2016 14:05:01 +0530 Subject: [PATCH] Closes-bug: #1584648 - Web-UI : Unable to attach Service Health Check object to Port Change-Id: I7f0c21849cf6e6f933e13ce23dfc9766adf29d6d --- webroot/config/networking/port/ui/js/models/portModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/config/networking/port/ui/js/models/portModel.js b/webroot/config/networking/port/ui/js/models/portModel.js index 9b3fcafe7..a8cc988d0 100644 --- a/webroot/config/networking/port/ui/js/models/portModel.js +++ b/webroot/config/networking/port/ui/js/models/portModel.js @@ -1124,11 +1124,11 @@ define([ deviceuuidval.split(cowc.DROPDOWN_VALUE_SEPARATOR); var uuid = deviceUUIDArr[0]; newPortData.virtual_machine_refs[0] = {}; - newPortData.virtual_machine_refs[0].uuid = uuid; if(deviceUUIDArr[1] != null) { var to = deviceUUIDArr[1].split(":"); newPortData.virtual_machine_refs[0].to = to; } + newPortData.virtual_machine_refs[0].uuid = uuid; } // Floating IP