- Allow commands with mutiple - (#1486851)

release-0.6
alecpl 15 years ago
parent 27ea62a576
commit 2fc4596587

@ -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;

Loading…
Cancel
Save