dont reload page for local urls

This commit is contained in:
j 2011-10-07 11:34:03 +02:00
parent 23904e4d9b
commit d117dfe351

View file

@ -390,6 +390,13 @@ pandora.ui.infoView = function(data) {
}).join(', '); }).join(', ');
} }
$text.find('a').click(function(event) {
if (event.target.hostname == document.location.hostname &&
event.target.pathname.substr(0, 5) != '/url=') {
pandora.URL.push(event.target.pathname);
return false;
}
});
function renderList() { function renderList() {
pandora.api.get({ pandora.api.get({
id: data.id, id: data.id,