mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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');
|
var selected = this.get('value');
|
||||||
if (selected) { selected = selected.toString(); }
|
if (!Em.isNone(selected)) { selected = selected.toString(); }
|
||||||
|
|
||||||
if (this.get('content')) {
|
if (this.get('content')) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user