Load base64 polyfill in IE and friends
This commit is contained in:
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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue