Commit 621583bf authored by Julia Radzhabova's avatar Julia Radzhabova

Не добавлялись автофигуры из списка на тулбаре.

parent ee88b1d3
......@@ -219,10 +219,8 @@ define([
me.api.asc_enableKeyEvents(false);
},
'menu:hide': function(e){
if (!me.isModalShowed) {
if (!me.isModalShowed)
me.api.asc_enableKeyEvents(true);
me.onEditComplete();
}
},
'edit:complete': _.bind(me.onEditComplete, me)
});
......
......@@ -201,10 +201,8 @@ define([
me.api.asc_enableKeyEvents(false);
},
'menu:hide': function(e){
if (!me.isModalShowed) {
if (!me.isModalShowed)
me.api.asc_enableKeyEvents(true);
me.onEditComplete();
}
},
'edit:complete': _.bind(me.onEditComplete, me)
});
......
......@@ -217,10 +217,8 @@ define([
me.api.asc_enableKeyEvents(false);
},
'menu:hide': function(e){
if (!me.isModalShowed) {
if (!me.isModalShowed)
me.api.asc_enableKeyEvents(true);
me.onEditComplete();
}
},
'edit:complete': _.bind(this.onEditComplete, this),
'settings:unitschanged':_.bind(this.unitsChanged, this)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment