diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-06-29 08:07:55 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-06-29 08:07:55 +0000 |
commit | 0ffcceffac52cc4ed373eb9db27d6c776b5d96b7 (patch) | |
tree | 7efee86b0c833e48c8a5099108041d6a9114d9b8 /actionpack/lib/action_view/helpers/javascripts/dragdrop.js | |
parent | a551ba2c01f5fcc1c0eff13c8ef24082e55071b9 (diff) | |
download | rails-0ffcceffac52cc4ed373eb9db27d6c776b5d96b7.tar.gz rails-0ffcceffac52cc4ed373eb9db27d6c776b5d96b7.tar.bz2 rails-0ffcceffac52cc4ed373eb9db27d6c776b5d96b7.zip |
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
Diffstat (limited to 'actionpack/lib/action_view/helpers/javascripts/dragdrop.js')
-rw-r--r-- | actionpack/lib/action_view/helpers/javascripts/dragdrop.js | 10 |
1 files changed, 4 insertions, 6 deletions
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 |