From 2fc4596587ce943026187037c223d126e750780f Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 24 Jul 2010 18:49:27 +0000 Subject: - Allow commands with mutiple - (#1486851) --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/js') diff --git a/program/js/app.js b/program/js/app.js index 4cdb876f7..25ab46875 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -977,7 +977,7 @@ function rcube_webmail() // unified command call (command name == function name) default: - var func = command.replace('-', '_'); + var func = command.replace(/-/g, '_'); if (this[func] && typeof this[func] == 'function') this[func](props); break; -- cgit v1.2.3