From 415d27490f14f7ba360a0edd3d9e1211f7482c89 Mon Sep 17 00:00:00 2001 From: Thomas Fuchs Date: Mon, 14 Nov 2005 20:49:10 +0000 Subject: Update trunk to latests script.aculo.us git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../action_view/helpers/javascripts/controls.js | 31 ++++++- .../action_view/helpers/javascripts/dragdrop.js | 54 +++++++++---- .../lib/action_view/helpers/javascripts/effects.js | 94 +--------------------- 3 files changed, 70 insertions(+), 109 deletions(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_view/helpers/javascripts/controls.js b/actionpack/lib/action_view/helpers/javascripts/controls.js index 6da588543b..9742b69188 100644 --- a/actionpack/lib/action_view/helpers/javascripts/controls.js +++ b/actionpack/lib/action_view/helpers/javascripts/controls.js @@ -80,7 +80,10 @@ Autocompleter.Base.prototype = { show: function() { if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update); - if(!this.iefix && (navigator.appVersion.indexOf('MSIE')>0) && (Element.getStyle(this.update, 'position')=='absolute')) { + if(!this.iefix && + (navigator.appVersion.indexOf('MSIE')>0) && + (navigator.userAgent.indexOf('Opera')<0) && + (Element.getStyle(this.update, 'position')=='absolute')) { new Insertion.After(this.update, '