Side navigation
#5814 closed bug (wontfix)
Opened January 15, 2010 07:44AM UTC
Closed January 15, 2010 02:39PM UTC
Ajax code works in 1.3.2, but fails in 1.4 (final)
Reported by: | daxx909 | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.4 |
Component: | ajax | Version: | 1.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In order to maintain object context I use a serverObject function.
However, with jQuery 1.4 I get an exception: "this.callback is null or not an object".
It fails in IE8, Firefox, Opera, Safari and Chrome.
See the attached file as an example.
Replace jquery-1.4.js by jquery-1.3.2.js, and everything works as it should.
Attachments (1)
Change History (1)
Changed January 15, 2010 02:39PM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
I think your good idea collided with jQuery 1.4's good idea. :)
http://api.jquery.com/jQuery.ajax/
You can now pass in a
argument to $.ajax or set it in $.ajaxOptions, and that will become the , but you were expecting it to be the original options object.You can either change the name of your own context argument, or if you are just using this on 1.4 then take advantage of it doing the work for you.