Side navigation
#10959 closed bug (invalid)
Opened December 06, 2011 09:54AM UTC
Closed December 06, 2011 10:27AM UTC
Last modified December 06, 2011 10:44AM UTC
ajaxStop() does not work
Reported by: | francesco.donzello@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | ajax | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I'm using ajaxStart() and ajaxStop() to handle the "Loading..." messages..
Anyway either if I use:
$(document).ajaxStart(....).ajaxStop(....);
or:
$.ajaxSetup({
complete: function(){
// code...
}
})
the event does not work..
No syntax errors according to Firebug Console.
Attachments (0)
Change History (4)
Changed December 06, 2011 09:57AM UTC by comment:1
Changed December 06, 2011 10:17AM UTC by comment:2
This thread can be closed. It was a problem with the jQuery.parseJSON function which does not like to parse a well formed json.
Changed December 06, 2011 10:27AM UTC by comment:3
component: | unfiled → ajax |
---|---|
priority: | undecided → low |
resolution: | → invalid |
status: | new → closed |
Changed December 06, 2011 10:44AM UTC by comment:4
Snark remark aside... what kind of a "well formed" json?
More info:
when I return a well formed JSON ajaxComplete() and ajaxStop() don't work.
when I return a malformed JSON they work