Opened 10 years ago

Closed 10 years ago

#8930 closed bug (duplicate)

Odd Ajax issue

Reported by: rayhal Owned by: rayhal
Priority: minor Milestone: 1.10.0
Component: ui.core Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:


I have an application that uses jQuery v1.8.3, jQuery UI 1.8.16 and jqGrid 4.4.1 plus some extensions that I created. Yesterday I upgraded to jQuery UI 1.9.2 Immediately I encountered some erratic behavior with Ajax calls. About 30% of Ajax requests would fetch the requested page then reload the main page inside itself. I cannot see any pattern to this behavior. All the Ajax requests are initiated by this code in the main page.

function GetContent(pg){

$('#PlsWait').removeClass('ui-helper-hidden'); $('#ajaxerror').html(); $('#pagecontent').load(pg,function(resp,status,xhr){


var msg='Sorry but there was an error: '; $('#ajaxerror').html(msg+xhr.status+' '+xhr.statusText);




All of the URL's follow the same format:


The only difference is XXXX which changes according to the request.

I tried removing the extensions that I created,using JQuery UI with all components and with a minimum of components required to run the app. Nothing made any difference. Changing back to jQuery UI 1.8.16 immediately cured the problem. I'm totally at a loss to see why this strange behavior happens or what exactly is causing it.

Change History (3)

comment:1 Changed 10 years ago by tj.vantoll

Owner: set to rayhal
Status: newpending

Hi rayhal,

We're going to need a reduced test case showing the issue in order to look into this. For support try Stack Overflow or the Forums.


comment:2 Changed 10 years ago by rayhal

Status: pendingnew

After a couple of hours messing around I've located the issue. Searched the bug reports and the issue is already covered by another ticket.

comment:3 Changed 10 years ago by mikesherov

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.