Skip to content
Snippets Groups Projects
Commit be928726 authored by mpukhliak's avatar mpukhliak
Browse files

SSDM-9520 rename "Lab Notebook" to "Datasets" in BBB-HUB config remove timeout

parent 82b427f8
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ $.extend(BBBHubTechnology.prototype, ELNLIMSPlugin.prototype, {
loadJSResorce("./plugins/bbb-hub/BBBServerFacade.js");
loadJSResorce("./plugins/bbb-hub/snakemake-table.js");
loadJSResorce("./plugins/bbb-hub/snakemake-trigger.js");
this.configureFancyTree("LAB_NOTEBOOK", "Datasets", 5000);
this.configureFancyTree("LAB_NOTEBOOK", "Datasets");
},
experimentFormTop : function($container, model) {
......@@ -38,12 +38,6 @@ $.extend(BBBHubTechnology.prototype, ELNLIMSPlugin.prototype, {
var DEFAULT_TIMEOUT_STEP = 300;
return new Promise(function executor(resolve, reject) {
timeout -= DEFAULT_TIMEOUT_STEP;
if (timeout <= 0) {
reject(new Error("Element '" + elementId + "' is not exist."));
}
if($("#" + elementId).length <= 0) {
setTimeout(executor.bind(null, resolve, reject), DEFAULT_TIMEOUT_STEP);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment