aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-07-05 07:55:37 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-07-05 07:55:37 +0000
commit25c33a99f9d62a2ca53dd261021596ce97ce32c0 (patch)
tree2b31a758d82443c059126ab2a3e8002cce85904d /actionpack/lib
parentf4c579e92e5d0787721ba958a571570c12563b11 (diff)
downloadrails-25c33a99f9d62a2ca53dd261021596ce97ce32c0.tar.gz
rails-25c33a99f9d62a2ca53dd261021596ce97ce32c0.tar.bz2
rails-25c33a99f9d62a2ca53dd261021596ce97ce32c0.zip
Fixed Prototype bug #1602
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/javascripts/prototype.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/javascripts/prototype.js b/actionpack/lib/action_view/helpers/javascripts/prototype.js
index 09f21edaf7..5f1ccadb11 100644
--- a/actionpack/lib/action_view/helpers/javascripts/prototype.js
+++ b/actionpack/lib/action_view/helpers/javascripts/prototype.js
@@ -291,8 +291,8 @@ Ajax.Updater.prototype.extend(Ajax.Request.prototype).extend({
var onComplete = this.options.onComplete || Prototype.emptyFunction;
this.options.onComplete = (function() {
- onComplete(this.transport);
this.updateContent();
+ onComplete(this.transport);
}).bind(this);
this.request(url);