New: Option to show unmonitored episodes on calendar

This commit is contained in:
Mark McDowall
2015-03-28 09:10:30 -07:00
parent 2a4fd2bbde
commit ab6233dd3f
15 changed files with 176 additions and 47 deletions

View File

@@ -24,6 +24,10 @@ module.exports = Marionette.Layout.extend({
throw 'context needs to be passed';
}
this.templateHelpers = {
floatOnMobile : options.floatOnMobile || false
};
this.left = options.left;
this.right = options.right;
this.toolbarContext = options.context;
@@ -51,7 +55,7 @@ module.exports = Marionette.Layout.extend({
_.each(buttonGroup.items, function(button) {
if (buttonGroup.storeState && !button.key) {
throw 'must provide key for all buttons when storSstate is enabled';
throw 'must provide key for all buttons when storeState is enabled';
}
var model = new ButtonModel(button);