diff options
author | Thomas Fuchs <thomas@fesch.at> | 2006-03-26 20:28:05 +0000 |
---|---|---|
committer | Thomas Fuchs <thomas@fesch.at> | 2006-03-26 20:28:05 +0000 |
commit | 77c8e3a0fd32e736575edce503b2e9f891193f9e (patch) | |
tree | b929bdb99ca8c59f7ea0546c1bbaa473460f38a3 /actionpack/lib/action_view/helpers/javascripts/controls.js | |
parent | 666537572d689c81eef7590f7ff3a146f3a82b29 (diff) | |
download | rails-77c8e3a0fd32e736575edce503b2e9f891193f9e.tar.gz rails-77c8e3a0fd32e736575edce503b2e9f891193f9e.tar.bz2 rails-77c8e3a0fd32e736575edce503b2e9f891193f9e.zip |
effects.js and controls.js fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/javascripts/controls.js')
-rw-r--r-- | actionpack/lib/action_view/helpers/javascripts/controls.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/javascripts/controls.js b/actionpack/lib/action_view/helpers/javascripts/controls.js index 82857c44e0..de0261ed54 100644 --- a/actionpack/lib/action_view/helpers/javascripts/controls.js +++ b/actionpack/lib/action_view/helpers/javascripts/controls.js @@ -141,8 +141,8 @@ Autocompleter.Base.prototype = { return; } else - if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN) - return; + if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN || + (navigator.appVersion.indexOf('AppleWebKit') > 0 && event.keyCode == 0)) return; this.changed = true; this.hasFocus = true; |