lib/views/explore/explore.erb in mongo3-0.0.7 vs lib/views/explore/explore.erb in mongo3-0.0.8

- old
+ new

@@ -104,11 +104,11 @@ if ( node.data && node.data.dyna && (children_count == 1 || node.data.master) ) { Log.write( "fetching new data..." ); var url = "/explore/more_data/"; - url += node.data.path_ids + "/" + node.data.path_names + "/"; + url += escape(node.data.path_ids) + "/" + escape(node.data.path_names) + "/"; $.ajax( { dataType: 'script', type: 'GET', url: url, success: function() { node.data.dyna = false; } @@ -135,10 +135,11 @@ }, onBeforePlotLine: function(adj) { var nodeTo = adj.nodeTo; var nodeFrom = adj.nodeFrom; - if( nodeFrom.data.slave && nodeTo.data.master ) +#console.log( "Node from " + nodeFrom.name + " " + nodeFrom.data.master + " -- " + nodeTo.data.) + if( (nodeFrom.data.slave && nodeTo.data.master) || (nodeFrom.data.master && nodeTo.data.slave) ) { adj.data.$lineWidth = 3; adj.data.$color = "#f00"; } }, \ No newline at end of file