Skip to content

Commit

Permalink
MDL-55831 theme_noname: Single button uses new actions partial
Browse files Browse the repository at this point in the history
Part of MDL-55071
  • Loading branch information
Frederic Massart authored and danpoltawski committed Sep 23, 2016
1 parent 11ba3fd commit 45fe470
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions theme/noname/templates/core/single_button.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,5 @@
</form>
</div>
{{#hasactions}}
{{#js}}
require(['core/yui'], function(Y) {
{{#actions}}
Y.on('{{event}}', {{{jsfunction}}}, '#{{id}}', null{{#jsfunctionargs}}, {{{jsfunctionargs}}}{{/jsfunctionargs}});
{{/actions}}
});
{{/js}}
{{> core/actions }}
{{/hasactions}}

0 comments on commit 45fe470

Please sign in to comment.