Elastic: Create fake rcube_browser object on error page to prevent from js errors

pull/6218/head
Aleksander Machniak 7 years ago
parent 0f3ad342f7
commit 501e7e3c29

@ -3178,6 +3178,7 @@ else {
// we fake the engine a little // we fake the engine a little
var rcmail = parent.rcmail; var rcmail = parent.rcmail;
var rcube_webmail = parent.rcube_webmail; var rcube_webmail = parent.rcube_webmail;
var bw = {};
} }
var UI = new rcube_elastic_ui(); var UI = new rcube_elastic_ui();

Loading…
Cancel
Save