Commit 2232005f authored by Romain Loth's avatar Romain Loth

minor fixes

parent 49046db4
...@@ -15,7 +15,6 @@ TW.gexfPaths={}; // for file selectors iff servermenu ...@@ -15,7 +15,6 @@ TW.gexfPaths={}; // for file selectors iff servermenu
TW.categories = []; // possible node types and their inverted map TW.categories = []; // possible node types and their inverted map
TW.catDict = {}; TW.catDict = {};
// a system state is the summary of tina situation // a system state is the summary of tina situation
TW.initialSystemState = { TW.initialSystemState = {
activetypes: [], // <== filled from TW.categories activetypes: [], // <== filled from TW.categories
...@@ -590,17 +589,6 @@ function mainStartGraph(inFormat, inData, twInstance) { ...@@ -590,17 +589,6 @@ function mainStartGraph(inFormat, inData, twInstance) {
} }
// load optional modules
activateModules() ;
// show any already existing panel
document.getElementById("graph-panels").style.display = "block"
// grey message in the search bar from settings
$("#searchinput").attr('placeholder', TW.conf.strSearchBar) ;
setTimeout( function() { setTimeout( function() {
theHtml.classList.remove('waiting') theHtml.classList.remove('waiting')
}, 20) }, 20)
......
...@@ -620,11 +620,11 @@ function find(lquery){ ...@@ -620,11 +620,11 @@ function find(lquery){
} }
function getNodeLabels(elems){ function getNodeLabels(elems){
var labelss=[] var labels=[]
for(let i in elems){ for(let i in elems){
labelss.push(TW.Nodes[elems[i]].label) labels.push(TW.Nodes[elems[i]].label)
} }
return labelss return labels
} }
function getSelections(){ function getSelections(){
......
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