added support for multi-button groups to toolbar

This commit is contained in:
kay.one 2013-04-23 22:56:51 -07:00 committed by Keivan Beigi
parent 7ae9e79540
commit 19732ba31a
14 changed files with 115 additions and 49 deletions

View file

@ -0,0 +1,21 @@
"use strict";
define(['app'], function () {
NzbDrone.Shared.Toolbar.CommandView = Backbone.Marionette.ItemView.extend({
template : 'Shared/Toolbar/CommandTemplate',
className: 'btn',
events: {
'click': 'onClick'
},
onClick: function () {
window.alert('click');
}
});
});