[FIX] node text not in set.

bzr revid: vda@tinyerp.com-20110921080418-vlfezcpkcrj84tbe
This commit is contained in:
Vaibhav (OpenERP) 2011-09-21 13:34:18 +05:30
parent 1aa8f36900
commit 6ca5e79d89
1 changed files with 1 additions and 2 deletions

View File

@ -116,7 +116,7 @@ QWeb.add_template('/web_process/static/src/xml/web_process.xml');
// Node text
process_node_text = r.text(text_position_x, n.node.y+10, (n.node.name))
.attr({"fill": "#fff", "font-weight": "bold"});
.attr({"fill": "#fff", "font-weight": "bold", "cursor": "pointer"});
if(n.node.subflow) {
process_node_text.click(function() {
@ -144,7 +144,6 @@ QWeb.add_template('/web_process/static/src/xml/web_process.xml');
process_set = r.set()
.push(process_node)
.push(process_node_text);
process_set.mousedown(function() {
return false;
});