diff --git a/src/sunstone/public/app/opennebula/vm.js b/src/sunstone/public/app/opennebula/vm.js
index 89816a64c1..f8d81acf43 100644
--- a/src/sunstone/public/app/opennebula/vm.js
+++ b/src/sunstone/public/app/opennebula/vm.js
@@ -820,25 +820,46 @@ 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);
- const ips = ipsStr.split('
');
- if ((ips.length < 2) && (!~ipsStr.indexOf("li"))) return ipsStr;
- var html = '