summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-23 17:25:59 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-23 17:25:59 -0700
commit9a0448e5d6f83d93f906e6fe1aec4bbb8d78912f (patch)
treef6f2f58c77bb7fb87b04ac76da34d126dc59d824
parent2a190660baeff8cd708926cea79f94f1630418b7 (diff)
Add gDialogLink to the delete button, since its got a jQuery
confirmation dialog now. This was a regression in fa4bb5b7ac89bbbd0325e5c336c2e9b31f59d12b. Fixes ticket #459.
-rw-r--r--modules/gallery/helpers/gallery_quick.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_quick.php b/modules/gallery/helpers/gallery_quick.php
index bb791c33..302a3144 100644
--- a/modules/gallery/helpers/gallery_quick.php
+++ b/modules/gallery/helpers/gallery_quick.php
@@ -118,7 +118,7 @@ class gallery_quick_Core {
$elements["right"][] = (object)array(
"title" => $delete_title,
- "class" => "gButtonLink",
+ "class" => "gDialogLink gButtonLink",
"icon" => "ui-icon-trash",
"id" => "gQuickDelete",
"href" => url::site("quick/form_delete/$item->id?csrf=$csrf&page_type=$page_type"));