diff options
author | alecpl <alec@alec.pl> | 2010-07-24 18:49:27 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-07-24 18:49:27 +0000 |
commit | 2fc4596587ce943026187037c223d126e750780f (patch) | |
tree | 23cd7a5983ad44ff4e5fa153b877a8edc322dbe5 | |
parent | 27ea62a57663632d6661c22025b9f0dfe2cead63 (diff) |
- Allow commands with mutiple - (#1486851)
-rw-r--r-- | 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 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; |