scripts: pass is_filter to createLink
createLink uses an is_link variable that is unset. Fix this by passing the is_link from the caller.
This commit is contained in:
@@ -111,7 +111,7 @@ function findUndefinedTarget (si_ep)
|
||||
return si_target
|
||||
end
|
||||
|
||||
function createLink (si_ep, si_target)
|
||||
function createLink (si_ep, si_target, is_filter)
|
||||
local out_item = nil
|
||||
local in_item = nil
|
||||
local ep_props = si_ep.properties
|
||||
@@ -213,7 +213,7 @@ function handleLinkable (si)
|
||||
end
|
||||
|
||||
-- create new link
|
||||
createLink (si, si_target)
|
||||
createLink (si, si_target, is_filter)
|
||||
end
|
||||
|
||||
function unhandleLinkable (si)
|
||||
|
Reference in New Issue
Block a user