Skip to content

Commit

Permalink
fix locationbox navigation on ENTER
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed May 31, 2012
1 parent 7503621 commit fa9b059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ Browser.prototype.createNavBox = function( parent, locLength ) {
dojo.create('input',{ size: locLength },navbox) );
dojo.connect( this.locationBox.focusNode, "keydown", this, function(event) {
if (event.keyCode == dojo.keys.ENTER) {
this.navigateTo(this.locationBox.value);
this.navigateTo( this.locationBox.get('value') );
this.goButton.set('disabled',true);
dojo.stopEvent(event);
} else {
Expand Down

0 comments on commit fa9b059

Please sign in to comment.