summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-11-19 17:20:06 +0100
committerLukas Reschke <lukas@owncloud.com>2015-11-22 16:05:52 +0100
commita05e40932c093609892c12bb5e24a882661075da (patch)
treece46b78b103a972178402d1e748de0ea3c9add99
parentfd40b0663972b1bd1fe5e481fcf595289c8a33f8 (diff)
downloadnextcloud-server-a05e40932c093609892c12bb5e24a882661075da.tar.gz
nextcloud-server-a05e40932c093609892c12bb5e24a882661075da.zip
Now using IE8 workaround of davclient.js for all IE versions
-rw-r--r--core/js/files/iedavclient.js (renamed from core/js/files/ie8davclient.js)2
-rw-r--r--lib/private/template.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/js/files/ie8davclient.js b/core/js/files/iedavclient.js
index 9887d34e5b4..bc6bce2f9ae 100644
--- a/core/js/files/ie8davclient.js
+++ b/core/js/files/iedavclient.js
@@ -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, {
diff --git a/lib/private/template.php b/lib/private/template.php
index 2c9721dc964..1476a964ef3 100644
--- a/lib/private/template.php
+++ b/lib/private/template.php
@@ -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;