lib/public/javascripts/edifice/form.js in edifice-0.6.2 vs lib/public/javascripts/edifice/form.js in edifice-0.6.3

- old
+ new

@@ -116,10 +116,10 @@ } else { throw "Don't know how to handle dataType " + this.settings.dataType; } this.focus_error(); - } else if (x.status >= 500 && x.status < 600) { + } else if (request.status >= 500 && request.status < 600) { // a SERVER ERROR -- something unrecoverable happened on the server this.trigger('server_error', request, status, error); // we aren't going to do anything here. // FIXME: we should probably have a way to set this behaviour at the application level. \ No newline at end of file