Fix showAll button
This commit is contained in:
parent
a47147ed82
commit
12da46a623
|
@ -18,6 +18,9 @@ Travis.reopen
|
|||
name: queue.display
|
||||
@set 'content', queues
|
||||
|
||||
showAll: (queue) ->
|
||||
queue.showAll()
|
||||
|
||||
WorkersController: Em.ArrayController.extend
|
||||
init: ->
|
||||
@_super.apply this, arguments
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
</ul>
|
||||
|
||||
{{#if queue.isMore}}
|
||||
<a {{action showAll this.queue target="view"}} class="show-more-jobs">
|
||||
<a {{action showAll queue}} class="show-more-jobs">
|
||||
{{queue.leftLength}} more jobs - show all
|
||||
</a>
|
||||
{{/if}}
|
||||
|
|
|
@ -26,10 +26,6 @@
|
|||
@_super.apply this, arguments
|
||||
@set 'controller', @get('controller').container.lookup('controller:queues')
|
||||
|
||||
showAll: ->
|
||||
queue = event.context
|
||||
queue.showAll()
|
||||
|
||||
RunningJobsView: Em.View.extend
|
||||
templateName: 'jobs/running'
|
||||
elementId: 'running-jobs'
|
||||
|
|
Loading…
Reference in New Issue
Block a user