Don't use events to open popup for allowed failures help

This commit is contained in:
Piotr Sarnacki 2015-01-12 12:20:19 +01:00
parent 43e06fc180
commit 8b6db4461c
2 changed files with 10 additions and 1 deletions

View File

@ -7,7 +7,8 @@
{{else}}
<caption>
Allowed Failures
<a title="What's this?" class="help open-popup" name="help-allowed_failures" {{action "popup" target=view}}></a>
<a title="What's this?" class="help open-popup"
name="help-allowed_failures" {{action "openHelpPopup" target=view}}></a>
</caption>
{{/if}}
<thead>

View File

@ -10,6 +10,14 @@ Travis.reopen
'allowed_failure_jobs'
)
actions:
popupClose: ->
@popupCloseAll()
openHelpPopup: ->
@popupCloseAll()
@popup('help-allowed_failures')
JobsItemView: Travis.View.extend
tagName: 'tr'
classNameBindings: ['color']