Skip to content

Commit

Permalink
Elastic: Create fake rcube_browser object on error page to prevent fr…
Browse files Browse the repository at this point in the history
…om js errors
  • Loading branch information
alecpl committed Mar 9, 2018
1 parent 0f3ad34 commit 501e7e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skins/elastic/ui.js
Expand Up @@ -3178,6 +3178,7 @@ else {
// we fake the engine a little
var rcmail = parent.rcmail;
var rcube_webmail = parent.rcube_webmail;
var bw = {};
}

var UI = new rcube_elastic_ui();

0 comments on commit 501e7e3

Please sign in to comment.