Skip to main content

Bug Tracker

Side navigation

#1550 closed bug (fixed)

Opened August 29, 2007 02:11PM UTC

Closed September 04, 2007 03:59AM UTC

Variable named "data" overides global namespace in httpData method

Reported by: janybravo Owned by:
Priority: major Milestone: 1.2
Component: ajax Version: 1.1.4
Keywords: data ajax html Cc: janybravo@gmail.com
Blocked by: Blocking:
Description

Hi!

I noticed that "data" variable, which stores loaded html content, owerides global namespace. I think that should't be happening.


httpData: function( r, type ) {

 var ct = r.getResponseHeader("content-type");
 var xml = type == "xml" || !type && ct && ct.indexOf("xml") >= 0;
 data = xml ? r.responseXML : r.responseText;

....

At line 2132,

Thank you!!!

Attachments (0)
Change History (1)

Changed September 04, 2007 03:59AM UTC by john comment:1

resolution: → fixed
status: newclosed

Fixed in SVN.