Add back the choices, change the separator options

This commit is contained in:
Robin Ward 2014-06-04 12:51:21 -04:00
parent 16b1379b01
commit 8e7f0aa268
2 changed files with 10 additions and 1 deletions

View File

@ -17,7 +17,7 @@ Discourse.ListSettingComponent = Ember.Component.extend({
this.$("input").select2({
multiple: false,
separator: "|",
tokenSeparators: [",", " ", "|"],
tokenSeparators: ["|"],
tags : this.get("choices") || [],
width: 'off'
}).on("change", function(obj) {

View File

@ -58,6 +58,15 @@ basic:
refresh: true
list: true
default: 'latest|new|unread|starred|top|categories'
choices:
- latest
- new
- unread
- starred
- top
- categories
- read
- posted
post_menu:
client: true
list: true