提交 d95ce08b 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'wrdp' into 'develop'

Wrdp

See merge request o2oa/o2oa!6285
......@@ -834,7 +834,11 @@ MWF.xApplication.process.FormDesigner.Property = MWF.FCProperty = new Class({
},
selectIcon: function(node){
if (!node.iconMenu){
var iconSelectMenu = new MWF.widget.Menu(node, {"event": "click", "style": "processIcon"});
var tr = node.getParent("tr");
var p = tr.getPosition(this.form.designer.content);
var iconSelectMenu = new MWF.widget.Menu(node, {"left": p.x-330, "top": p.y, "event": "click", "style": "processIcon"});
//var iconSelectMenu = new MWF.widget.Menu(node, {"event": "click", "style": "processIcon"});
iconSelectMenu.load();
node.iconMenu = iconSelectMenu;
var _self = this;
......
......@@ -913,7 +913,9 @@ MWF.xApplication.process.ProcessDesigner.Property = new Class({
selectIcon: function(node){
if (!node.iconMenu){
var iconSelectMenu = new MWF.widget.Menu(node, {"event": "click", "style": "processIcon"});
var tr = node.getParent("tr");
var p = tr.getPosition(this.process.designer.paperInNode.getNext());
var iconSelectMenu = new MWF.widget.Menu(node, {"left": p.x-330, "top": p.y, "event": "click", "style": "processIcon"});
iconSelectMenu.load();
node.iconMenu = iconSelectMenu;
var _self = this;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册