mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue