Don't use events to open popup for allowed failures help
This commit is contained in:
parent
43e06fc180
commit
8b6db4461c
|
@ -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>
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue
Block a user