Ensure always a language is selected
This commit is contained in:
parent
b2f68ae559
commit
d8a74a18f6
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
|||
this.getInputElement().$.selectedIndex = -1;
|
||||
},
|
||||
commit: function( widget ) {
|
||||
widget.setData( 'lang', this.getValue() );
|
||||
widget.setData( 'lang', this.getValue() || 'text' );
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Reference in a new issue