Commit 9b902575 authored by SergeyLuzyanin's avatar SergeyLuzyanin

isConnectorPreset

parent a3c1efc2
......@@ -677,6 +677,9 @@ function getTargetTextObject(controller)
function isConnectorPreset(sPreset){
if(typeof sPreset === "string" && sPreset.length > 0){
if(sPreset === "flowChartOffpageConnector" || sPreset === "flowChartConnector"){
return false;
}
return (sPreset.toLowerCase().indexOf("line") > -1 || sPreset.toLowerCase().indexOf("connector") > -1);
}
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment