return to the correct url after closing the site dialog; don't cancel requests when opening the site dialog

This commit is contained in:
rolux 2011-10-08 15:03:13 +00:00
commit c63677fd1f
2 changed files with 6 additions and 8 deletions

View file

@ -62,9 +62,7 @@ pandora.ui.siteDialog = function(section) {
}).bindEvent({
click: function() {
$dialog.close();
//fixme: this should be using URL.push / UI.set
//but that currenlty causes a reload
history.pushState({}, '', '/');
pandora.URL.update();
}
})
],