mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 16:31:38 -04:00
Fix: more explicit (and correct) time entries delete URL
This commit is contained in:
@@ -67,7 +67,7 @@ $(document).ready(function () {
|
||||
|
||||
$("#confirmation_delete").click(function () {
|
||||
var entry_id = $(this).data("entry_id");
|
||||
var url = $("#confirmation_delete").data("url") + entry_id;
|
||||
var url = $("#confirmation_delete").data("url-template").replace(/__ID__/, entry_id);
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "delete",
|
||||
|
||||
Reference in New Issue
Block a user