From 5708d9a2cd0918bdb292bf5085e56b53b329b87f Mon Sep 17 00:00:00 2001 From: Frederick Borges Date: Mon, 11 May 2020 19:22:18 +0200 Subject: [PATCH] B #1417: Fix VM IPs Dropdown (#4701) (cherry picked from commit e45a5d48193b062f9ede6fd8906e1797e49dfff6) --- src/sunstone/public/app/opennebula/vm.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/sunstone/public/app/opennebula/vm.js b/src/sunstone/public/app/opennebula/vm.js index b05305f711..5cee7fbf57 100644 --- a/src/sunstone/public/app/opennebula/vm.js +++ b/src/sunstone/public/app/opennebula/vm.js @@ -820,11 +820,11 @@ define(function(require) { : "--"; }; - // Return a dropdown with all the + // Return a dropdown with all the function ipsDropdown(element, divider) { var ipsStr = this.ipsStr(element,divider,groupByIpsDropdown); console.log(ipsStr); - + const ips = ipsStr.split('
'); if ((ips.length < 2) && (!~ipsStr.indexOf("li"))) return ipsStr; var html = '