From 24cd16bfb960891ee435bbeda4d4607134a4c4d7 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Mon, 4 Sep 2017 08:47:27 +0000 Subject: [PATCH] SSDM-5536 : Disable V3 Logging on ELN SVN: 38697 --- .../eln-lims/html/js/controllers/MainController.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js index d1f827ee848..dc0fc9259bf 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js @@ -41,8 +41,13 @@ function MainController(profile) { this.loadV3 = function(callback) { this.serverFacade.getOpenbisV3(function(openbisV3) { - mainController.openbisV3 = openbisV3 - mainController.openbisV3._private.sessionToken = mainController.serverFacade.getSession(); + openbisV3._private.sessionToken = mainController.serverFacade.getSession(); + if(openbisV3._private.log) { + openbisV3._private.log = function() { + // Disables v3 logging + }; + } + mainController.openbisV3 = openbisV3; callback(); }); }; -- GitLab