From 1e6d3b61020ac8fc4e5c44604d7be1c3a71c4288 Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Wed, 23 Jun 2021 17:07:59 +0200 Subject: [PATCH] B OpenNebula/one#5434: Fix sunstone socket (#1330) --- src/sunstone/public/app/utils/websocket.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/sunstone/public/app/utils/websocket.js b/src/sunstone/public/app/utils/websocket.js index faa5888b9a..dda349ada4 100644 --- a/src/sunstone/public/app/utils/websocket.js +++ b/src/sunstone/public/app/utils/websocket.js @@ -45,8 +45,7 @@ define(function (require) { }; var _start = function (fireedgeToken="") { - /* - + /* // This code is disabled to forbid the autorefresh feature @@ -130,8 +129,7 @@ define(function (require) { Sunstone.getDataTable(tab_id).waitingNodes(); Sunstone.runAction(object + ".list", {force: true}); } - - } */ + } }); // Close Socket when close browser or tab. @@ -144,7 +142,7 @@ define(function (require) { } else{ connection = STATUS.DISCONNECTED; - } + } */ }; var websocket = {