Commit 89cae850 authored by Mikaël Salson's avatar Mikaël Salson

js/segmenter.js: Make possible to activate CloneDB by js/conf.js

parent 4a79a673
Pipeline #41756 passed with stages
in 5 minutes and 6 seconds
......@@ -233,7 +233,8 @@ Segment.prototype = {
span = document.createElement('span');
span.id = "toCloneDB";
span.setAttribute('title', 'Send sequences to EC-NGS/CloneDB in the background')
span.className = "button devel-mode";
span.className = "button ";
span.className += (typeof config !== 'undefined' && config.clonedb) ? "" : "devel-mode";
span.onclick = function () {
self.db.callCloneDB(self.m.getSelected());
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment