diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-12-14 17:50:33 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-12-14 17:50:33 +0100 |
commit | 064dcc079d8dba1754cf80fff66941f31d439002 (patch) | |
tree | a7ec0faf731802c439166c03614f51f99a655f3c /lib/private/template.php | |
parent | 595fd9de6ed6114b57a40b28393dbd1cd706667c (diff) | |
download | nextcloud-server-064dcc079d8dba1754cf80fff66941f31d439002.tar.gz nextcloud-server-064dcc079d8dba1754cf80fff66941f31d439002.zip |
Load base64 polyfill in IE and friends
Diffstat (limited to 'lib/private/template.php')
-rw-r--r-- | lib/private/template.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/template.php b/lib/private/template.php index d794dacac23..04d6a906880 100644 --- a/lib/private/template.php +++ b/lib/private/template.php @@ -162,6 +162,8 @@ class OC_Template extends \OC\Template\Base { } if (\OC::$server->getRequest()->isUserAgent([\OC\AppFramework\Http\Request::USER_AGENT_IE])) { + // polyfill for btoa/atob for IE friends + OC_Util::addVendorScript('base64/base64'); // shim for the davclient.js library \OCP\Util::addScript('files/iedavclient'); } |