summaryrefslogtreecommitdiff
path: root/addons/web_process/static
diff options
context:
space:
mode:
authorVaibhav (OpenERP) <vda@tinyerp.com>2012-01-30 17:07:45 +0530
committerVaibhav (OpenERP) <vda@tinyerp.com>2012-01-30 17:07:45 +0530
commitf2ad8bd914fda1a81a871453e9b7ae8f9f4d9f7d (patch)
tree6a5459b99d8e7d0303c880802535923d58a52a84 /addons/web_process/static
parentb4e7377b540684ad793205b5580420b7f5c1de8d (diff)
[FIX] img of current state node.
bzr revid: vda@tinyerp.com-20120130113745-fe7w9hhuenahhdx1
Diffstat (limited to 'addons/web_process/static')
-rw-r--r--addons/web_process/static/src/js/process.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web_process/static/src/js/process.js b/addons/web_process/static/src/js/process.js
index fb745689a3c..a62c19160ec 100644
--- a/addons/web_process/static/src/js/process.js
+++ b/addons/web_process/static/src/js/process.js
@@ -162,6 +162,8 @@ openerp.web_process = function (openerp) {
//Image part
bg = n.node.kind == "subflow" ? "node-subflow" : "node";
bg = n.node.gray ? bg + "-gray" : bg;
+ bg = n.node.active ? 'node-current': bg;
+
img_src = '/web_process/static/src/img/'+ bg + '.png';
r['image'](img_src, n.node.x, n.node.y,150, 100)