[Koha-patches] [PATCH] guided reports: make it possible to delete saved reports
Galen Charlton
galen.charlton at liblime.com
Wed May 7 21:38:43 CEST 2008
Fixed JavaScript error that prevented user from deleting
a saved SQL.
---
.../en/modules/reports/guided_reports_start.tmpl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
index 83429db..3e917ea 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
@@ -10,7 +10,7 @@ $(document).ready(function(){
$(".confirmdelete").click(function(){
$(this).parents('tr').attr("class","warn");
if(confirm("Are you sure you want to "+$(this).attr("title")+"?")){
- return false;
+ return true;
} else {
$(this).parents('tr').attr("class","");
return false;
--
1.5.5.rc0.16.g02b00
More information about the Koha-patches
mailing list