Remove unused albumname input in album drop modal
- Addresses https://github.com/friendica/friendica/issues/8000#issuecomment-568798634
This commit is contained in:
parent
b4704b7205
commit
66e9f0e0da
|
@ -1035,14 +1035,10 @@ function photos_content(App $a)
|
|||
if ($cmd === 'drop') {
|
||||
$drop_url = $a->query_string;
|
||||
|
||||
$extra_inputs = [
|
||||
['name' => 'albumname', 'value' => $_POST['albumname']],
|
||||
];
|
||||
|
||||
return Renderer::replaceMacros(Renderer::getMarkupTemplate('confirm.tpl'), [
|
||||
'$method' => 'post',
|
||||
'$message' => L10n::t('Do you really want to delete this photo album and all its photos?'),
|
||||
'$extra_inputs' => $extra_inputs,
|
||||
'$extra_inputs' => [],
|
||||
'$confirm' => L10n::t('Delete Album'),
|
||||
'$confirm_url' => $drop_url,
|
||||
'$confirm_name' => 'dropalbum',
|
||||
|
|
Loading…
Reference in a new issue