add originalEvent param to actionafter event (#6144)

pull/6150/head
johndoh 7 years ago committed by Aleksander Machniak
parent 7abaab3098
commit a8b16031bd

@ -1427,7 +1427,7 @@ function rcube_webmail()
if (!aborted && this.triggerEvent('after'+command, props) === false)
ret = false;
this.triggerEvent('actionafter', { props:props, action:command, aborted:aborted, ret:ret });
this.triggerEvent('actionafter', { props:props, action:command, aborted:aborted, ret:ret, originalEvent:event});
return ret === false ? false : obj ? false : true;
};

Loading…
Cancel
Save