CHANGELOG | ●●●●● patch | view | raw | blame | history | |
program/js/app.js | ●●●●● patch | view | raw | blame | history | |
program/resources/blank.pdf | patch | view | raw | blame | history |
CHANGELOG
@@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== - Fix PDF support detection for Firefox PDF.js (#1488972) - Fix messages list focus issue in Internet Explorer (#1489058) - Fix possible collision in generated thumbnail cache key (#1489069) - Fix exit code on bootsrap errors in CLI mode (#1489044) program/js/app.js
@@ -6811,6 +6811,15 @@ return 1; } // this will detect any pdf plugin including PDF.js in Firefox var obj = document.createElement('OBJECT'); obj.onload = function() { rcmail.env.browser_capabilities.pdf = 1; }; obj.onerror = function() { rcmail.env.browser_capabilities.pdf = 0; }; obj.style.display = 'none'; obj.type = 'application/pdf'; obj.data = 'program/resources/blank.pdf'; document.body.appendChild(obj); return 0; }; program/resources/blank.pdfBinary files differ