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}}
|
{{else}}
|
||||||
<caption>
|
<caption>
|
||||||
Allowed Failures
|
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>
|
</caption>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<thead>
|
<thead>
|
||||||
|
|
|
@ -10,6 +10,14 @@ Travis.reopen
|
||||||
'allowed_failure_jobs'
|
'allowed_failure_jobs'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
actions:
|
||||||
|
popupClose: ->
|
||||||
|
@popupCloseAll()
|
||||||
|
|
||||||
|
openHelpPopup: ->
|
||||||
|
@popupCloseAll()
|
||||||
|
@popup('help-allowed_failures')
|
||||||
|
|
||||||
JobsItemView: Travis.View.extend
|
JobsItemView: Travis.View.extend
|
||||||
tagName: 'tr'
|
tagName: 'tr'
|
||||||
classNameBindings: ['color']
|
classNameBindings: ['color']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user