Skip to content

Commit

Permalink
восстанавливаем фокус на изображение после потери фокуса у врапера
Browse files Browse the repository at this point in the history
  • Loading branch information
Katochimoto committed Aug 19, 2015
1 parent 943ce98 commit 7a61df8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ckeditor-imgresize",
"version": "1.0.10",
"version": "1.0.11",
"description": "CKEditor dragable image resizing with support divarea",
"keywords": [
"ckeditor",
Expand Down
2 changes: 1 addition & 1 deletion plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
this._wrapper.on('drag:drag', this._onDragDrag, this);
this._wrapper.on('drag:stop', this._onDragStop, this);
this._wrapper.on('mousedown', this._initDrag, this, null, 0);
this._wrapper.once('blur', this._hideWrapper, this, null, 0);
this._wrapper.once('blur', this._hideWrapper, this, { 'restoreFocus': true }, 0);
this._wrapper.once('keydown', this._onKeydown, this, null, 0);

for (var eventName in this._editorHideEvents) {
Expand Down

0 comments on commit 7a61df8

Please sign in to comment.