mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-03 18:29:32 +01:00
Fixed bug where marking albums as wanted on the album page resulted in it getting marked twice - and then loading the artist subhead instead of album subhead
This commit is contained in:
@@ -153,7 +153,8 @@ function initActions() {
|
||||
$("#subhead_menu #menu_link_scan").button({ icons: { primary: "ui-icon-search"} });
|
||||
}
|
||||
|
||||
function refreshSubmenu(url) {
|
||||
function refreshSubmenu() {
|
||||
var url = $(location).attr('href');
|
||||
$("#subhead_container").load(url + " #subhead_menu",function(){
|
||||
initActions();
|
||||
});
|
||||
@@ -303,7 +304,7 @@ function doAjaxCall(url,elem,reload,form) {
|
||||
feedback.fadeOut(function(){
|
||||
feedback.removeClass('success');
|
||||
});
|
||||
if ( reload == true ) refreshSubmenu(url);
|
||||
if ( reload == true ) refreshSubmenu();
|
||||
if ( reload == "table") {
|
||||
console.log('refresh'); refreshTable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user