mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:53:41 +08:00
FIX: Try to match a selected element in a combo box, even if it
has a value of 0.
This commit is contained in:
parent
4237099db3
commit
689afbfb7a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user