POST on same page when removing from playlist, so url doesn't change

This commit is contained in:
James Taylor
2018-07-24 04:30:51 -07:00
parent 6e6a38cd73
commit 74c9647072
2 changed files with 13 additions and 11 deletions

View File

@@ -63,7 +63,7 @@ $header
<div id="left">
<h2 class="playlist-title">$title</h2>
<input type="hidden" name="playlist_page" value="$title" form="playlist-edit">
<button type="submit" id="playlist-remove-button" name="action" value="remove" form="playlist-edit">Remove from playlist</button>
<button type="submit" id="playlist-remove-button" name="action" value="remove" form="playlist-edit" formaction="">Remove from playlist</button>
<div id="results">
$videos
</div>