Code/Plugins/WebUI/www/common_modules/js/build_treeview_data.js
/* this function build the node or sub node depending on the value or nodes are present or not */
this function build the node or sub node depending on the value or nodes are present or not
this function build the node or sub node depending on the value or nodes are present or not
function build_node(key, value, count, nodes) {
    var node = {};
    var d = key;
    if (value != null) {
        d += " : " + value;
    }
    node["text"] = d;
    node["tags"] = "'" + count + "'";
    node["href"] = "#" + "_" + d;
    if (nodes != null)
        node["nodes"] = nodes;
    return node;
}
function build_node ( key , value , count , nodes ) { var node = { } ; var d = key ; if ( value != null ) { d += " : " + value ; } node [ "text" ] = d ; node [ "tags" ] = "'" + count + "'" ; node [ "href" ] = "#" + "_" + d ; if ( nodes != null ) node [ "nodes" ] = nodes ; return node ; }
this function build the node or sub node depending on the value or nodes are present or not
this function build the node or sub node depending on the value or nodes are present or not