Skip to content

Commit 935c769

Browse files
author
p01
committed
Fix the relative URL check in cls.ResourceDisplayBroker
1 parent b4e5cd3 commit 935c769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resource-manager/resource_display_broker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ cls.ResourceDisplayBroker = function()
5454
else if (url)
5555
{
5656
// resolve the URL based on that of the runtime if we only have a relative path
57-
if (url[0].indexOf('://') == -1)
57+
if (url.indexOf('://') == -1)
5858
{
5959
rt_id = ele.get_attr('parent-node-chain', 'rt-id');
6060
if(rt_id)

0 commit comments

Comments
 (0)