1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 10:19:25 +02:00

Fixed #447: Reseting art stops the player

This commit is contained in:
Afterster 2014-09-13 22:54:34 +02:00
parent ef82b6efdc
commit a5cd83d6cd
2 changed files with 2 additions and 2 deletions

View file

@ -1490,7 +1490,7 @@ class Art extends database_object
echo "</a>";
}
if ($GLOBALS['user']->has_access('75')) {
echo "<a href=\"" . AmpConfig::get('web_path') . "/arts.php?action=clear_art&object_type=" . $object_type . "&object_id=" . $object_id . "&burl=" . $burl . "\" onclick=\"return confirm('" . T_('Do you really want to reset art?') . "');\">";
echo "<a href=\"javascript:NavigateTo('" . AmpConfig::get('web_path') . "/arts.php?action=clear_art&object_type=" . $object_type . "&object_id=" . $object_id . "&burl=" . $burl . "');\" onclick=\"return confirm('" . T_('Do you really want to reset art?') . "');\">";
echo UI::get_icon('delete', T_('Reset Art'));
echo "</a>";
}