mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-04 02:09:23 +02:00
Fixed #447: Reseting art stops the player
This commit is contained in:
parent
ef82b6efdc
commit
a5cd83d6cd
2 changed files with 2 additions and 2 deletions
|
@ -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>";
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ $button_flip_state_id = 'button_flip_state_' . $libitem->id;
|
|||
<option value="gather_media_art"><?php echo T_('Gather Art'); ?></option>
|
||||
<option value="show_delete_catalog"><?php echo T_('Delete'); ?></option>
|
||||
</select>
|
||||
<input type="button" onClick="location='<?php echo $web_path; ?>/admin/catalog.php?action=' + this.form.catalog_action_menu.options[this.form.catalog_action_menu.selectedIndex].value + '&catalogs[]=<?php echo $libitem->id; ?>';" value="<?php echo T_('Go'); ?>">
|
||||
<input type="button" onClick="NavigateTo('<?php echo $web_path; ?>/admin/catalog.php?action=' + this.form.catalog_action_menu.options[this.form.catalog_action_menu.selectedIndex].value + '&catalogs[]=<?php echo $libitem->id; ?>');" value="<?php echo T_('Go'); ?>">
|
||||
<?php if (AmpConfig::get('catalog_disable')) { ?>
|
||||
<span id="<?php echo($button_flip_state_id); ?>">
|
||||
<?php echo Ajax::button('?page=catalog&action=flip_state&catalog_id=' . $libitem->id, $icon, T_(ucfirst($icon)),'flip_state_' . $libitem->id); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue