Skip to main content

Bug Tracker

Side navigation

#4326 closed bug (invalid)

Opened March 11, 2009 09:15AM UTC

Closed March 18, 2009 03:44AM UTC

json response

Reported by: veniamin.medvedev Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: Cc: flesler, veniamin.medvedev
Blocked by: Blocking:


in Your function httpData: function( xhr, type, s ) {

You have

if( typeof data === "string" ){

if ( type == "script" )

jQuery.globalEval( data );

if ( type == "json" )

data = window["eval"]("(" + data + ")");


In my case I have data as an empty string

I think You need to check if data isn't empty


Attachments (0)
Change History (2)

Changed March 11, 2009 11:23AM UTC by flesler comment:1

cc: → flesler, veniamin.medvedev

Are you getting some kind of error ?

Please include more details.

Changed March 18, 2009 03:44AM UTC by brandon comment:2

resolution: → invalid
status: newclosed

If data is an empty string then there is nothing to eval. Not sure what the issue is here. Please feel free to reopen with a simplified test case.