[DE] Fix review=false mode
This commit is contained in:
parent
32942c847f
commit
3350f387e0
|
@ -604,7 +604,7 @@ define([
|
|||
|
||||
this.view.btnsDocLang && this.view.btnsDocLang.forEach(function(button) {
|
||||
if ( button ) {
|
||||
button.setDisabled(disable || this.langs.length<1);
|
||||
button.setDisabled(disable || !this.langs || this.langs.length<1);
|
||||
}
|
||||
}, this);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue