mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
Fix tmp playlist delete, ajax artist edit refresh and similar artists loading
This commit is contained in:
parent
e3d046974f
commit
94eba90f46
4 changed files with 21 additions and 9 deletions
|
@ -196,7 +196,12 @@ function showEditDialog(edit_type, edit_id, edit_form_id, edit_title, refresh_ro
|
|||
$('#' + parent.refreshRowPrefix + parent.editId).attr("id", parent.refreshRowPrefix + new_id);
|
||||
});
|
||||
} else {
|
||||
location.reload(true);
|
||||
var reloadp = window.location;
|
||||
var hash = window.location.hash.substring(1);
|
||||
if (hash && hash.indexOf('.php') > -1) {
|
||||
reloadp = jsWebPath + '/' + hash;
|
||||
}
|
||||
loadContentPage(reloadp);
|
||||
}
|
||||
},
|
||||
error : function(resp){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue