-Ashutosh
On 9/9/06, Arash Yalpani <[EMAIL PROTECTED]
> wrote:
Calling $.getScript with only one parameter, being the url, I always get
this message (on FF):
"data has no properties"
It points to line 226 of http://jquery.com/dev/svn/jquery/src/ajax/ajax.js
if ( data.constructor == Function ) {
type = callback;
callback = data;
data = ""> }
What I do is as simple as this:
$.getScript(' http://newsride/shared/fetch/account/login/login.js?v=20060620-1');
So I thought changing line 226 to
if ( data && data.constructor == Function ) {
should fix the problem and it did. Could someone with more insight
judge, if this is a bug that should be fixed in JQuery?
Arash
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
--
Reach1to1 Communications
http://www.reach1to1.com
[EMAIL PROTECTED]
98201-94408
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/