Now using IE8 workaround of davclient.js for all IE versions
This commit is contained in:
parent
fd40b06639
commit
a05e40932c
|
@ -12,7 +12,7 @@
|
|||
(function(dav) {
|
||||
|
||||
/**
|
||||
* Override davclient.js methods with IE8-compatible logic
|
||||
* Override davclient.js methods with IE-compatible logic
|
||||
*/
|
||||
dav.Client.prototype = _.extend({}, dav.Client.prototype, {
|
||||
|
|
@ -161,9 +161,9 @@ class OC_Template extends \OC\Template\Base {
|
|||
throw new \Exception('Cannot read core/js/core.json');
|
||||
}
|
||||
|
||||
if (\OC::$server->getRequest()->isUserAgent([\OC\AppFramework\Http\Request::USER_AGENT_IE_8])) {
|
||||
if (\OC::$server->getRequest()->isUserAgent([\OC\AppFramework\Http\Request::USER_AGENT_IE])) {
|
||||
// shim for the davclient.js library
|
||||
\OCP\Util::addScript('files/ie8davclient');
|
||||
\OCP\Util::addScript('files/iedavclient');
|
||||
}
|
||||
|
||||
self::$initTemplateEngineFirstRun = false;
|
||||
|
|
Loading…
Reference in New Issue