Allow "yes" as a synonym of "true"

For consistency
This commit is contained in:
Jermolene 2016-04-29 17:02:42 +01:00
parent f470c54fc5
commit 39f0c19c9a
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ function editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {
// Fix height
this.engine.fixHeight();
// Focus if required
if(this.editFocus === "true") {
if(this.editFocus === "true" || this.editFocus === "yes") {
this.engine.focus();
}
// Add widget message listeners