Opened 15 years ago
Closed 15 years ago
#1550 closed bug (fixed)
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: | [email protected]… |
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!!!
Note: See
TracTickets for help on using
tickets.
Fixed in SVN.