diff --git a/kadmos/vistoms/templates/VISTOMS.html b/kadmos/vistoms/templates/VISTOMS.html index 43a1e33c91165e59445b7d6c12cf005171cc906f..88d6dc2f3a000b7d13b6692f732d8a840adb5669 100644 --- a/kadmos/vistoms/templates/VISTOMS.html +++ b/kadmos/vistoms/templates/VISTOMS.html @@ -260,15 +260,7 @@ } //############################################################## - - - function createNewGraph(theData,aNewGraphID) - { - - - } - - + function makeKadmosMenu(data, initial=false) { //First of all, clear everything if it is already there @@ -19229,9 +19221,7 @@ if(result){ theVariableData.nominalValue = $('#nominalValue').submit()[0].value; theVariableData.operator = $('#operator').submit()[0].value; - - console.log(parseInt(theVariableData.nominalValue)) - + if(theVariableData.operator != "<" && theVariableData.operator != "<=" && theVariableData.operator != "=" @@ -19849,7 +19839,7 @@ inputChildrenitemsList.push({title: 'according to ' + varCategories[j].description, varCategory: varCategories[j].name, description: varCategories[j].description, - onMouseClick: function(elm, data, i) {showIOList(data.varCategory,data.description,elm.__data__,"out")}, + onMouseClick: function(elm, data, i) {showIOList(data.varCategory,data.description,elm.__data__,"in")}, onMouseOver: function(elm,data,i){}}); outputChildrenitemsList.push({title: 'according to ' + varCategories[j].description, varCategory: varCategories[j].name, @@ -20766,7 +20756,6 @@ { if (contact.attrib.uID == contact_uid) { - console.log(currentGraph.organization) if (typeof currentGraph.organization.organigram=="undefined") { currentGraph.organization.organigram = {architects: [], integrators: [], toolSpecialists: []}; @@ -23178,7 +23167,8 @@ if (pipeData) { prune_tree(pipeData, treeData); - } + } + if (pipeData == ""){treeData = {}} //build tree layout for vistoms var newTree = {}; buildTree(newTree, treeData) @@ -27699,7 +27689,7 @@ } }) - var title = "List view of all outputs from " + elm.__data_.id + "; Categorization: " + data.description + var title = "List view of all outputs from " + elm.__data__.id + "; Categorization: " + data.description var variables = JSON.parse(JSON.stringify(currentGraph.variableSchemes[data.varCategory])) prune_tree(pipeData,variables) variables.forEach(function(variable)