Load base64 polyfill in IE and friends

remotes/origin/fix_emit_scanFiles
Vincent Petry 2015-12-14 17:50:33 +07:00
parent 595fd9de6e
commit 064dcc079d
1 changed files with 2 additions and 0 deletions

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