summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-12-14 23:53:45 +0000
committerivan <ivan>2011-12-14 23:53:45 +0000
commit4458c3585b241a16e82c96be9af4fe7ffceade4d (patch)
treec032b7a78b7ef26eb5b3d2aec5244932dea36f6d
parentc725592a5d867dd4b2289b09dcb0a02952807a48 (diff)
usability for msgcat editing: redirect back to the message catalog you are working on, RT#15269
-rw-r--r--httemplate/edit/process/msgcat.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/edit/process/msgcat.html b/httemplate/edit/process/msgcat.html
index 8a763ba08..4c04290a1 100644
--- a/httemplate/edit/process/msgcat.html
+++ b/httemplate/edit/process/msgcat.html
@@ -1,4 +1,7 @@
<& elements/process.html,
table => 'msgcat',
- viewall_dir => 'browse',
+ #viewall_dir => 'browse',
+ redirect => sub { my($cgi, $msgcat) = @_;
+ $p. 'browse/msgcat.html?locale='. $msgcat->locale;
+ },
&>