mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:57:40 +08:00
FEATURE: support for multi-combo-box
This commit is contained in:
@ -5,10 +5,7 @@ export default NotificationOptionsComponent.extend({
|
||||
value: Ember.computed.alias("group.group_user.notification_level"),
|
||||
i18nPrefix: "groups.notifications",
|
||||
|
||||
actions: {
|
||||
onSelect(value) {
|
||||
value = this.defaultOnSelect(value);
|
||||
this.get("group").setNotification(value, this.get("user.id"));
|
||||
}
|
||||
selectValueFunction(value) {
|
||||
this.get("group").setNotification(value, this.get("user.id"));
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user