Permalink
Browse files

Fix browser warnings on PDF plugin detection (#1489118)

  • Loading branch information...
1 parent bbd6367 commit 1f19587f05c28c37a08063bcb122298d05b74fd6 @alecpl alecpl committed May 23, 2013
Showing with 1 addition and 9 deletions.
  1. +1 −0 CHANGELOG
  2. +0 −9 program/js/app.js
  3. BIN program/resources/blank.pdf
View
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix browser warnings on PDF plugin detection (#1489118)
- Fix fatal error when parsing UUencoded messages (#1489119)
- Change Reply-All button label/title when mailing list is detected (#1488938)
- Fix SMTP connection using IPv6 address in smtp_server option (#1489024)
View
@@ -6717,15 +6717,6 @@ function rcube_webmail()
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;
};
View
Binary file not shown.

0 comments on commit 1f19587

Please sign in to comment.