Fix bug
This commit is contained in:
parent
9feabc6ac3
commit
c03c7638d9
|
@ -580,6 +580,8 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
SetDisabled: function(disable, options) {
|
SetDisabled: function(disable, options) {
|
||||||
|
if (!this.mode) return;
|
||||||
|
|
||||||
if ( !this.panels ) {
|
if ( !this.panels ) {
|
||||||
this.mode.disableEditing = disable;
|
this.mode.disableEditing = disable;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue