Moved refocusing on surface view input up to es.Inspector

This commit is contained in:
Trevor Parscal 2011-12-09 20:46:12 +00:00
parent ef35fc2be2
commit 3edaaf390d
2 changed files with 1 additions and 1 deletions

View file

@ -49,6 +49,7 @@ es.Inspector.prototype.close = function() {
this.onClose();
}
this.emit( 'close' );
surfaceView.$input.focus();
};
/* Inheritance */

View file

@ -78,7 +78,6 @@ es.LinkInspector.prototype.onClose = function() {
{ 'type': 'link/internal', 'data': { 'title': title } }
);
surfaceModel.transact( set );
surfaceView.$input.focus();
};
/* Inheritance */