[Bps-public-commit] App-Changeloggr branch, master, updated. c5ff49d7df626bb5444bfb84941d6a6dd8307aa9
sartak at bestpractical.com
sartak at bestpractical.com
Wed May 27 15:34:53 EDT 2009
The branch, master has been updated
via c5ff49d7df626bb5444bfb84941d6a6dd8307aa9 (commit)
from 9e408fa2b83c748b8e1a0e94504025c1ddbfc454 (commit)
Summary of changes:
lib/App/Changeloggr/View/Admin.pm | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit c5ff49d7df626bb5444bfb84941d6a6dd8307aa9
Author: Shawn M Moore <sartak at gmail.com>
Date: Wed May 27 15:34:42 2009 -0400
Require confirmation of deleting a changelog
diff --git a/lib/App/Changeloggr/View/Admin.pm b/lib/App/Changeloggr/View/Admin.pm
index 7268616..a6442e7 100644
--- a/lib/App/Changeloggr/View/Admin.pm
+++ b/lib/App/Changeloggr/View/Admin.pm
@@ -26,7 +26,10 @@ template '/changelog' => page {
form {
render_action($delete);
form_next_page(url => '/');
- form_submit(label => 'Delete');
+ form_submit(
+ label => 'Delete',
+ onclick => q{return confirm('Really delete this changelog?');},
+ );
};
};
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list