Files
kupshop/admin/templates/list/dbbackup.tpl
2025-08-02 16:30:27 +02:00

15 lines
362 B
Smarty

{extends "list.tpl"}
<script>
{block onready append}
$('body').on('click', '[data-rename]', function() {
var $this = $(this),
newName = window.prompt("Zadejte nové jméno zálohy", $this.data('rename'));
if (newName)
window.location = $this.attr('href') + '&new_name=' + newName;
return false;
});
{/block}
</script>