Skip to content

Commit

Permalink
Merge branch 'master' into 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yurychika committed Jun 13, 2014
2 parents d366c85 + c4238e6 commit b7cce71
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions support/GotoPagePane.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,13 @@ define([
},

_onKeyDown: function(evt){
if(!this.okBtn.get('disabled') && keys.ENTER == evt.keyCode){
this._onOK();
event.stop(evt);
if(!this.okBtn.get('disabled') ){
if ( this.okBtn.get('focused') && keys.ENTER == evt.keyCode){

this._onOK();
event.stop(evt);
}

}
}
});
Expand Down

0 comments on commit b7cce71

Please sign in to comment.