Load base64 polyfill in IE and friends

This commit is contained in:
Vincent Petry 2015-12-14 17:50:33 +01:00
parent 595fd9de6e
commit 064dcc079d
1 changed files with 2 additions and 0 deletions

View File

@ -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');
}