From 0ffcceffac52cc4ed373eb9db27d6c776b5d96b7 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 29 Jun 2005 08:07:55 +0000 Subject: Script.aculo.us: autocompletion focus fix, setContentZoom fix #1546 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/javascripts/dragdrop.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'actionpack/lib/action_view/helpers/javascripts/dragdrop.js') diff --git a/actionpack/lib/action_view/helpers/javascripts/dragdrop.js b/actionpack/lib/action_view/helpers/javascripts/dragdrop.js index 493f0e3855..6086b44ee0 100644 --- a/actionpack/lib/action_view/helpers/javascripts/dragdrop.js +++ b/actionpack/lib/action_view/helpers/javascripts/dragdrop.js @@ -235,13 +235,13 @@ Draggable.prototype = { var options = { handle: false, starteffect: function(element) { - new Effect2.Opacity(element, {duration:0.2, from:1.0, to:0.7}); + new Effect.Opacity(element, {duration:0.2, from:1.0, to:0.7}); }, reverteffect: function(element, top_offset, left_offset) { - new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); + new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, endeffect: function(element) { - new Effect2.Opacity(element, {duration:0.2, from:0.7, to:1.0}); + new Effect.Opacity(element, {duration:0.2, from:0.7, to:1.0}); }, zindex: 1000 }.extend(arguments[1] || {}); @@ -466,6 +466,4 @@ Sortable = { return queryComponents.join("&"); } -} - -/*--------------------------------------------------------------------------*/ \ No newline at end of file +} \ No newline at end of file -- cgit v1.2.3