File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ cls.ResourceDisplayBroker = function()
1717 if ( manager && view )
1818 {
1919 if ( line )
20- data . lines = [ line ] ;
20+ data . lines = [ line ] ;
2121
2222 view . show_resource ( resource , data ) ;
2323
@@ -28,7 +28,8 @@ cls.ResourceDisplayBroker = function()
2828
2929 this . show_resource_for_id = function ( id , line )
3030 {
31- this . _show_resource ( id , line ) ;
31+ if ( ! this . _show_resource ( id , line ) )
32+ window . open ( url ) ;
3233 }
3334
3435 this . show_resource_for_url = function ( url , line )
@@ -57,7 +58,7 @@ cls.ResourceDisplayBroker = function()
5758 if ( url . indexOf ( '://' ) == - 1 )
5859 {
5960 rt_id = ele . get_attr ( 'parent-node-chain' , 'rt-id' ) ;
60- if ( rt_id )
61+ if ( rt_id )
6162 url = window . helpers . resolveURLS ( runtimes . getURI ( rt_id ) , url ) ;
6263 }
6364 this . show_resource_for_url ( url , line ) ;
You can’t perform that action at this time.
0 commit comments