Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
JBPM-7827 - REVERT - Wrong link for reusable subprocess in process di…
Browse files Browse the repository at this point in the history
…agram in process definitions (#839)
  • Loading branch information
Tihomir Surdilovic committed Mar 6, 2019
1 parent c16477d commit 0f30e9f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
Expand Up @@ -659,9 +659,9 @@ ORYX.Core.Canvas = ORYX.Core.AbstractShape.extend({
// escape all links
$A(svgClone.getElementsByTagNameNS(ORYX.CONFIG.NAMESPACE_SVG, 'a')).each(function(elem) {
if(elem.getAttributeNS("http://www.w3.org/1999/xlink","href") && elem.getAttributeNS("http://www.w3.org/1999/xlink","href") !== null) {
elem.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", elem.getAttributeNS("http://www.w3.org/1999/xlink", "href").escapeHTML());
elem.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", (elem.getAttributeNS("http://www.w3.org/1999/xlink", "href") || "").escapeHTML());
}
});
});

return svgClone;
},
Expand Down

0 comments on commit 0f30e9f

Please sign in to comment.