fix (caught) TypeError: egw is not a function when initialising egw object

This commit is contained in:
Ralf Becker 2015-11-02 17:04:40 +00:00
parent 061d571fd2
commit e0920467ea

View File

@ -130,7 +130,7 @@
} }
} }
try { try {
egw(window).message; if (typeof egw == 'function') egw(window).message;
} }
catch (e) { catch (e) {
console.log('Security exception accessing window specific egw object --> creating new one', e); console.log('Security exception accessing window specific egw object --> creating new one', e);