fix some links/action targets

This commit is contained in:
Sven Fuchs 2012-09-26 23:18:11 +02:00
parent 5a49b51700
commit 1a9f88587d
6 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{{view.logSubscriber}}
{{#if log.isLoaded}}
<pre id="log" class="ansi"><a href="#" id="tail" {{action toggleTailing}}>
<pre id="log" class="ansi"><a href="#" id="tail" {{action toggleTailing target="view"}}>
<span class="status"></span>
<label>Follow logs</label>
</a>{{{formatLog log.body}}}</pre>
@ -13,7 +13,7 @@
</p>
{{/if}}
<a href='#' class="to-top" {{action toTop}}>To top</a>
<a href='#' class="to-top" {{action toTop target="view"}}>To top</a>
{{else}}
<div id="log" class="loading">
<span>Loading</span>

View File

@ -28,7 +28,7 @@
optionLabelPath="content.name"
optionValuePath="content.key"}}
<button name="commit" {{action saveLocale}}>
<button name="commit" {{action saveLocale target="view"}}>
{{t profiles.show.update_locale}}
</button>
</form>

View File

@ -6,7 +6,7 @@
{{#each job in queue}}
{{#view Travis.QueueItemView jobBinding="job"}}
<li>
<a {{bindAttr href="view.urlJob"}} {{action route}}>
<a {{action showJob job.repository job href=true}}>
<span class="slug">
{{job.repository.slug}}
</span>

View File

@ -4,7 +4,7 @@
{{view Travis.ReposListTabsView}}
<a {{action toggleInfo}} class="toggle-info"></a>
<a {{action toggleInfo target="view"}} class="toggle-info"></a>
<div class="tab">
{{#collection Travis.RepositoriesListView contentBinding="controller"}}

View File

@ -1,5 +1,5 @@
<div id="tools">
<a href="#" {{action toggle}}></a>
<a href="#" {{action toggle target="view"}}></a>
<div class="pane">
<p>
<label>{{t repositories.branch}}:</label>

File diff suppressed because one or more lines are too long