From 064dcc079d8dba1754cf80fff66941f31d439002 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 14 Dec 2015 17:50:33 +0100 Subject: [PATCH] Load base64 polyfill in IE and friends --- lib/private/template.php | 2 ++ 1 file changed, 2 insertions(+) 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'); } -- 2.39.5