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

This commit is contained in:
Julia Radzhabova 2016-06-24 14:53:18 +03:00
parent ee88b1d376
commit 621583bf7f
3 changed files with 3 additions and 9 deletions

View file

@ -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)
});

View file

@ -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)
});

View file

@ -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)