Skip to content

Commit

Permalink
修复活动节点中文名称重复BUG
Browse files Browse the repository at this point in the history
snakerflow committed Jul 7, 2014
1 parent 4275a54 commit b0d6de0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/webapp/styles/js/snaker/snaker.designer.js
Original file line number Diff line number Diff line change
@@ -1114,12 +1114,12 @@
if(hr.rects.length||ar.rects.length){
var pmap = {}, rmap = {};
for(var h in _paths){
if(!rmap[_paths[h].from().text()]){
rmap[_paths[h].from().text()]={rect:_paths[h].from(),paths:{}}
if(!rmap[_paths[h].from().getName()]){
rmap[_paths[h].from().getName()]={rect:_paths[h].from(),paths:{}}
}
rmap[_paths[h].from().text()].paths[_paths[h].text()]=_paths[h];
if(!rmap[_paths[h].to().text()]){
rmap[_paths[h].to().text()]={rect:_paths[h].to(),paths:{}}
rmap[_paths[h].from().getName()].paths[_paths[h].text()]=_paths[h];
if(!rmap[_paths[h].to().getName()]){
rmap[_paths[h].to().getName()]={rect:_paths[h].to(),paths:{}}
}
}
for(var u=0;u<hr.rects.length;u++){

0 comments on commit b0d6de0

Please sign in to comment.