summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-07-07 10:38:28 +0200
committerAleksander Machniak <alec@alec.pl>2014-07-07 10:38:28 +0200
commitaa13b46714a136249dc7445ad8a0b69aa14eea51 (patch)
treea66f9af7b08506cffab910795c7f7d62028f128b /program/js/app.js
parent43e9fc9499c54c7505acdcc780316fc54f037567 (diff)
Pass event object as 3rd argument to external command handlers
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index e5d2dce4d..31c23dd0e 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -664,11 +664,11 @@ function rcube_webmail()
// process external commands
if (typeof this.command_handlers[command] === 'function') {
- ret = this.command_handlers[command](props, obj);
+ ret = this.command_handlers[command](props, obj, event);
return ret !== undefined ? ret : (obj ? false : true);
}
else if (typeof this.command_handlers[command] === 'string') {
- ret = window[this.command_handlers[command]](props, obj);
+ ret = window[this.command_handlers[command]](props, obj, event);
return ret !== undefined ? ret : (obj ? false : true);
}