amalgame/commit
more opm renaming
author | Jacco van Ossenbruggen |
---|---|
Wed Jan 30 12:29:08 2013 +0100 | |
committer | Jacco van Ossenbruggen |
Wed Jan 30 12:29:08 2013 +0100 | |
commit | afd3d70e11dbb154edd8133dc8d254f0abdc51d0 |
tree | d6f09058142b09acef0d96b1206f36ecc5c2d1e0 |
parent | 3ab392853a59162bc9e848236fb455e1cdf2d907 |
Diff style: patch stat
diff --git a/applications/builder.pl b/applications/builder.pl index 7ae5cd8..a80ef24 100644 --- a/applications/builder.pl +++ b/applications/builder.pl @@ -98,7 +98,7 @@ html_page(Strategy, Focus) :- div([class('yui3-u'), id(main)], [ div(id(graph), div(class(content), - div([id(opm)], []))), + div([id(strategy_graph)], []))), div([id(bottom)], div(class(content), [ div(id(mappingtable), []), @@ -178,7 +178,7 @@ yui_script(Alignment, Focus) --> % % Path to the server used in javascript. -js_path(opmgraph, Path) :- +js_path(strategyGraph, Path) :- http_link_to_id(http_strategy_viz, [format(svg)], Path). js_path(addprocess, Path) :- http_location_by_id(http_add_process, Path). diff --git a/web/js/builder.js b/web/js/builder.js index 0d80c57..9c0e00a 100644 --- a/web/js/builder.js +++ b/web/js/builder.js @@ -4,7 +4,7 @@ YUI.add('builder', function(Y) { Node = Y.Node, Plugin = Y.Plugin; - var NODE_OPM = Y.one("#opm"), + var NODE_OPM = Y.one("#strategy_graph"), NODE_CONTROLS = Y.one("#controls"), NODE_INFO = Y.one("#info"), NODE_SELECT = Y.one("#select"); diff --git a/web/js/strategy_viz.js b/web/js/strategy_viz.js index 838ac2d..41a8293 100644 --- a/web/js/strategy_viz.js +++ b/web/js/strategy_viz.js @@ -58,7 +58,7 @@ YUI.add('strategy_viz', function(Y) { data.selected = uri } - Y.io(paths.opmgraph, { + Y.io(paths.strategyGraph, { data:data, on:{ success: function(e,o) {