Response title
This is preview!
Both URL are actually the same, the first URL is normally used by human beings, because the browser knows automatically when basic-auth is required, shows a dialog, and then continues with the basic-auth header. But when you want to make automated testing, you normally use the second URL where you have the basic-auth credentials automatically provided.
My current workaround is to overwrite this function and just always return true, because in our webapp, we don't use AJAX to display the content._isLocal: ( function() {
var rhash = /#.*$/;
return function( anchor ) {
var anchorUrl, locationUrl;
anchorUrl = anchor.href.replace( rhash, "" );
locationUrl = location.href.replace( rhash, "" );
// Decoding may throw an error if the URL isn't UTF-8 (#9518)
try {
anchorUrl = decodeURIComponent( anchorUrl );
} catch ( error ) {}
try {
locationUrl = decodeURIComponent( locationUrl );
} catch ( error ) {}
return anchor.hash.length > 1 && anchorUrl === locationUrl;
};
} )(),
jQuery.ui.tabs.prototype._isLocal = ( function() {
return function( anchor ) {
// All our JQuery UI tabs are local
return true;
};
} )();
© 2013 jQuery Foundation
Sponsored by and others.