- xml.open(s.type, s.url, s.async, s.username, s.password);
+ // Passing null username, generates a login popup on Opera (#2865)
+ if( s.username )
+ xml.open(s.type, s.url, s.async, s.username, s.password);
+ else
+ xml.open(s.type, s.url, s.async);