Chromium Code Reviews| Index: runtime/bin/vmservice/client/lib/src/elements/instance_ref.html |
| diff --git a/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html b/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html |
| index 943ccda085d000f8afbe5fe5c6e681f29a8dc55f..39e83c670207ad17da7f094a4a0cb356badcef93 100644 |
| --- a/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html |
| +++ b/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html |
| @@ -34,16 +34,16 @@ |
| isBool(ref.serviceType) || |
| isInt(ref.serviceType)) || |
| isDouble(ref.serviceType)) }}"> |
| - <a href="{{ url }}">{{ ref['valueAsString'] }}</a> |
| + <a on-click="{{ goto }}" href="{{ url }}">{{ ref['valueAsString'] }}</a> |
| </template> |
| <template if="{{ (isType(ref.serviceType)) }}"> |
| - <a href="{{ url }}">{{ ref['user_name'] }}</a> |
| + <a on-click="{{ goto }}" href="{{ url }}">{{ ref['user_name'] }}</a> |
|
turnidge
2014/06/04 18:02:24
It's a shame we have to do this with all of our li
Cutch
2014/06/04 20:28:57
Agreed. We should have an <app-link> tag or someth
|
| </template> |
| <template if="{{ isInstance(ref.serviceType) && |
| ref['closureFunc'] != null}}"> |
| - <a href="{{ url }}"> |
| + <a on-click="{{ goto }}" href="{{ url }}"> |
| <!-- TODO(turnidge): Switch this to fully-qualified function --> |
| {{ ref['closureFunc']['user_name'] }} |
| </a> |
| @@ -51,7 +51,7 @@ |
| <template if="{{ isInstance(ref.serviceType) && |
| ref['closureFunc'] == null}}"> |
| - <a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a> |
| + <a on-click="{{ goto }}" href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a> |
| <curly-block callback="{{ expander() }}"> |
| <div class="memberList"> |
| <template repeat="{{ field in ref['fields'] }}"> |
| @@ -69,7 +69,7 @@ |
| </template> |
| <template if="{{ isList(ref.serviceType) }}"> |
| - <a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em> ({{ ref['length']}})</a> |
| + <a on-click="{{ goto }}" href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em> ({{ ref['length']}})</a> |
| <curly-block callback="{{ expander() }}"> |
| <div class="memberList"> |
| <template repeat="{{ element in ref['elements'] }}"> |