Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 16, 2008
1 parent a861d1f commit cd2623b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Request/Request.HTML.js
Expand Up @@ -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);
Expand Down

0 comments on commit cd2623b

Please sign in to comment.