summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-29 09:26:39 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-29 09:26:39 +0000
commitb4f92c7de69466b2d4ec0c41b9b22e4511314a24 (patch)
treefa174f59d2cfaaf993600735f57053ba0b059ec4 /core/views
parent6091350c9454c92e5a975901eff8f5f46bee3045 (diff)
Add delete support as a quick-edit option
Diffstat (limited to 'core/views')
-rw-r--r--core/views/quick_pane.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views/quick_pane.html.php b/core/views/quick_pane.html.php
index 35c9dcf1..78a6c1ce 100644
--- a/core/views/quick_pane.html.php
+++ b/core/views/quick_pane.html.php
@@ -35,14 +35,14 @@
<?= t("Select as album cover") ?>
</span>
</a>
-<? endif ?>
-<a class="delete" href="#"
+<a class="delete" href="<?= url::site("quick/delete/$item->id?csrf=" . access::csrf_token()) ?>"
title="<?= t("Delete this item") ?>">
<span>
<?= t("Delete this item") ?>
</span>
</a>
+<? endif ?>
<a class="options" href="#"
title="<?= t("Additional options") ?>">