Permalink
Browse files

a temporary (band-aid) fix for Request.HTML to make the update option…

… work until we update the Request Classes
  • Loading branch information...
tomocchino authored and subtleGradient committed Oct 10, 2008
1 parent a861d1f commit cd2623b4f5c8104033a659fcf9f09b63b36f2257
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Request/Request.HTML.js
@@ -53,7 +53,7 @@ Request.HTML = new Class({
response.elements = temp.getElements('*');
if (options.filter) response.tree = response.elements.filter(options.filter);
- if (options.update) $(options.update).empty().adopt(response.tree);
+ if (options.update) $(options.update).empty().set('html', response.html);
if (options.evalScripts) $exec(response.javascript);
this.onSuccess(response.tree, response.elements, response.html, response.javascript);

0 comments on commit cd2623b

Please sign in to comment.