diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-26 23:41:04 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-26 23:41:04 +0000 |
commit | f7b89667ac4157d64697aa2f51bcea8a26c0fd8f (patch) | |
tree | ceec044a43db3127d42ea48ce30b90ad3137ead3 /actionpack/lib | |
parent | 4c3d52ad66c2db582ad24e55adf88fa7cfdb39e6 (diff) | |
download | rails-f7b89667ac4157d64697aa2f51bcea8a26c0fd8f.tar.gz rails-f7b89667ac4157d64697aa2f51bcea8a26c0fd8f.tar.bz2 rails-f7b89667ac4157d64697aa2f51bcea8a26c0fd8f.zip |
Fixed a couple of more js issues
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/javascripts/prototype.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/javascripts/prototype.js b/actionpack/lib/action_view/helpers/javascripts/prototype.js index 18027b3e91..48d6afb386 100644 --- a/actionpack/lib/action_view/helpers/javascripts/prototype.js +++ b/actionpack/lib/action_view/helpers/javascripts/prototype.js @@ -197,9 +197,7 @@ Ajax.Updater.prototype = (new Ajax.Base()).extend({ }, updateContent: function() { - this.container.innerHTML = this.request.transport.responseText; - - if (this.options.insertion) { + if (!this.options.insertion) { this.container.innerHTML = this.request.transport.responseText; } else { new this.options.insertion(this.container, |