Replace the rest of the deprecated {{action xyz}} with `{{action

"xyz"}}`
This commit is contained in:
Robin Ward
2014-10-03 14:42:58 -04:00
parent f2520939b8
commit e55b437eb9
64 changed files with 110 additions and 119 deletions

View File

@@ -1,6 +1,6 @@
<table>
{{#each poll.options}}
<tr {{bind-attr class=checked:active}} {{action selectOption option}}>
<tr {{bind-attr class=checked:active}} {{action "selectOption" option}}>
<td class="radio">
<input type="radio" name="poll" {{bind-attr checked=checked disabled=controller.disableRadio}}>
</td>
@@ -15,7 +15,7 @@
</table>
<div class='row'>
<button {{action toggleShowResults}} class="btn btn-small show-results">
<button {{action "toggleShowResults"}} class="btn btn-small show-results">
{{#if showResults}}
<i class="fa fa-eye-slash"></i>
{{i18n poll.results.hide}}
@@ -26,7 +26,7 @@
</button>
{{#if showToggleClosePoll}}
<button {{action toggleClosePoll}} class="btn btn-small toggle-poll">
<button {{action "toggleClosePoll"}} class="btn btn-small toggle-poll">
{{#if poll.closed}}
<i class="fa fa-unlock-alt"></i>
{{i18n poll.open_poll}}