Permalink
Browse files

fix in response pre-processors

  • Loading branch information...
1 parent 4abba5a commit 3e518595e43b1499ec35a7131c2725027a1e8ddf @juzna committed Jan 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/prototype/ajax/request.js
@@ -308,7 +308,7 @@ Ajax.Request = Class.create(Ajax.Base, {
// Execute pre-processors first
var shouldEnd = false;
Ajax._responsePreProcessors.each(function(cb) {
- if(cb(this) === false) {
+ if(cb(response) === false) {
shouldEnd = true;
return $break;
}

0 comments on commit 3e51859

Please sign in to comment.