FIX: Try to match a selected element in a combo box, even if it

has a value of 0.
This commit is contained in:
Robin Ward 2014-07-04 13:11:43 -04:00
parent 4237099db3
commit 689afbfb7a
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ export default Discourse.View.extend({
}
var selected = this.get('value');
if (selected) { selected = selected.toString(); }
if (!Em.isNone(selected)) { selected = selected.toString(); }
if (this.get('content')) {
var self = this;