another bugfix

This commit is contained in:
Catrin 2014-05-05 13:04:36 +02:00 committed by Neil Lalonde
parent 665ff95015
commit 5f8ac51059
2 changed files with 1 additions and 6 deletions

View File

@ -8,7 +8,7 @@
</ul> </ul>
{{#if canChangeCategoryNotificationLevel}} {{#if canChangeCategoryNotificationLevel}}
{{view Discourse.CategoryNotificationsButton categoryBinding="model" category=category}} {{view Discourse.CategoryNotificationsButton categoryBinding="model" category=category}}
{{/if}} {{/if}}
{{#if canCreateTopic}} {{#if canCreateTopic}}

View File

@ -12,11 +12,6 @@ Discourse.CategoryNotificationsButton = Discourse.View.extend({
hidden: Em.computed.alias('category.deleted'), hidden: Em.computed.alias('category.deleted'),
templateName: 'category_notification_dropdown', templateName: 'category_notification_dropdown',
init: function() {
this._super();
this.display();
},
dropDownContent: function() { dropDownContent: function() {
var contents = []; var contents = [];