Skip to content
Browse files

Fixed a couple of more js issues

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 4c3d52a commit f7b89667ac4157d64697aa2f51bcea8a26c0fd8f @dhh dhh committed Mar 26, 2005
Showing with 1 addition and 3 deletions.
  1. +1 −3 actionpack/lib/action_view/helpers/javascripts/prototype.js
View
4 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,

0 comments on commit f7b8966

Please sign in to comment.
Something went wrong with that request. Please try again.