提交 1696a9b3 编写于 作者: N nilspreusker

modified event handling for artifact links to get proper history events, fixed tree layout

上级 33883942
......@@ -314,7 +314,6 @@
onArtifactLinkClick: function Artifact_onArtifactLinkClick(event)
{
var params = event.target.href.split("?")[1].split("&");
var connectorId = params[0].split("=")[1];
......@@ -322,6 +321,7 @@
var artifactName = params[2].split("=")[1];
this.fireEvent(Activiti.event.updateArtifactView, {"connectorId": connectorId, "repositoryNodeId": artifactId, "isRepositoryArtifact": true, "name": artifactName, "activeTabIndex": 0}, null, true);
YAHOO.util.Event.preventDefault(event);
},
onClickFormEventButton: function Artifact_onClickFormEventButton(event, args)
......
......@@ -50,7 +50,7 @@
}
#treeDiv1 .ygtvcontent {
line-height:1.2em;
line-height:1.3em;
}
/* first or middle sibling, no children */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册