Не добавлялись автофигуры из списка на тулбаре.
This commit is contained in:
parent
ee88b1d376
commit
621583bf7f
|
@ -219,10 +219,8 @@ define([
|
||||||
me.api.asc_enableKeyEvents(false);
|
me.api.asc_enableKeyEvents(false);
|
||||||
},
|
},
|
||||||
'menu:hide': function(e){
|
'menu:hide': function(e){
|
||||||
if (!me.isModalShowed) {
|
if (!me.isModalShowed)
|
||||||
me.api.asc_enableKeyEvents(true);
|
me.api.asc_enableKeyEvents(true);
|
||||||
me.onEditComplete();
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
'edit:complete': _.bind(me.onEditComplete, me)
|
'edit:complete': _.bind(me.onEditComplete, me)
|
||||||
});
|
});
|
||||||
|
|
|
@ -201,10 +201,8 @@ define([
|
||||||
me.api.asc_enableKeyEvents(false);
|
me.api.asc_enableKeyEvents(false);
|
||||||
},
|
},
|
||||||
'menu:hide': function(e){
|
'menu:hide': function(e){
|
||||||
if (!me.isModalShowed) {
|
if (!me.isModalShowed)
|
||||||
me.api.asc_enableKeyEvents(true);
|
me.api.asc_enableKeyEvents(true);
|
||||||
me.onEditComplete();
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
'edit:complete': _.bind(me.onEditComplete, me)
|
'edit:complete': _.bind(me.onEditComplete, me)
|
||||||
});
|
});
|
||||||
|
|
|
@ -217,10 +217,8 @@ define([
|
||||||
me.api.asc_enableKeyEvents(false);
|
me.api.asc_enableKeyEvents(false);
|
||||||
},
|
},
|
||||||
'menu:hide': function(e){
|
'menu:hide': function(e){
|
||||||
if (!me.isModalShowed) {
|
if (!me.isModalShowed)
|
||||||
me.api.asc_enableKeyEvents(true);
|
me.api.asc_enableKeyEvents(true);
|
||||||
me.onEditComplete();
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
'edit:complete': _.bind(this.onEditComplete, this),
|
'edit:complete': _.bind(this.onEditComplete, this),
|
||||||
'settings:unitschanged':_.bind(this.unitsChanged, this)
|
'settings:unitschanged':_.bind(this.unitsChanged, this)
|
||||||
|
|
Loading…
Reference in a new issue