summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-09-19 20:45:55 +0000
committerthomascube <thomas@roundcube.net>2011-09-19 20:45:55 +0000
commit50077da8e6daab205f8ee9512b2f37b5378f9938 (patch)
treef0917337455034e7d1460d5b74139ac175899504 /program/js
parent3d74c163b5d5e5726ae44f6a8b20d54f8ca146c4 (diff)
Numbers are also allowed in action names
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index abac694b8..44d58236e 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5686,7 +5686,7 @@ function rcube_webmail()
var base = this.env.comm_path;
// overwrite task name
- if (query._action.match(/([a-z]+)\/([a-z-_.]+)/)) {
+ if (query._action.match(/([a-z]+)\/([a-z0-9-_.]+)/)) {
query._action = RegExp.$2;
base = base.replace(/\_task=[a-z]+/, '_task='+RegExp.$1);
}