diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-07-24 18:49:27 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-07-24 18:49:27 +0000 |
| commit | 21aff21d1e19e72a83e2ffcc1d441151527e333c (patch) | |
| tree | 835aba44dac3f1aaf77ffedff7f7e2cd64839e9f /roundcubemail/program | |
| parent | 1c2dc1d705986f91b0739dcc3d90c3d2c4d8bfe9 (diff) | |
- Allow commands with mutiple - (#1486851)
git-svn-id: https://svn.roundcube.net/trunk@3822 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
