From 21aff21d1e19e72a83e2ffcc1d441151527e333c Mon Sep 17 00:00:00 2001 From: alec Date: Sat, 24 Jul 2010 18:49:27 +0000 Subject: - Allow commands with mutiple - (#1486851) git-svn-id: https://svn.roundcube.net/trunk@3822 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 4cdb876f7..25ab46875 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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