From 50077da8e6daab205f8ee9512b2f37b5378f9938 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 19 Sep 2011 16:45:55 -0400
Subject: [PATCH] Numbers are also allowed in action names
---
program/js/app.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/js/app.js b/program/js/app.js
index abac694..44d5823 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5686,7 +5686,7 @@
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);
}
--
Gitblit v1.9.1