From 25c33a99f9d62a2ca53dd261021596ce97ce32c0 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 5 Jul 2005 07:55:37 +0000 Subject: Fixed Prototype bug #1602 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/javascripts/prototype.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') 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); -- cgit v1.2.3