Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
IE8 Support:
Browse files Browse the repository at this point in the history
- TODO: For the moment, disable the protolegacy stuff (drop IE7 support)?
- TODO: Add es5 shim & es5 sham. To be detected based on user agent?
- Strict usage of window.console, not just console.
  • Loading branch information
cdujeu committed May 4, 2015
1 parent 1d2b199 commit 3ebcc9c
Show file tree
Hide file tree
Showing 36 changed files with 4,923 additions and 5,339 deletions.
3 changes: 2 additions & 1 deletion core/src/plugins/gui.ajax/class.AJXP_ClientDriver.php
Expand Up @@ -232,7 +232,8 @@ public function switchAction($action, $httpVars, $fileVars)
$content = file_get_contents(AJXP_INSTALL_PATH."/plugins/gui.ajax/res/html/gui.html");
}
if (preg_match('/MSIE 7/',$_SERVER['HTTP_USER_AGENT']) || preg_match('/MSIE 8/',$_SERVER['HTTP_USER_AGENT'])) {
$content = str_replace("ajaxplorer_boot.js", "ajaxplorer_boot_protolegacy.js", $content);
// TODO: OFFICIALLY DROP IE7 SUPPORT?
//$content = str_replace("ajaxplorer_boot.js", "ajaxplorer_boot_protolegacy.js", $content);
}
$content = str_replace("AJXP_ADDITIONAL_JS_FRAMEWORKS", $ADDITIONAL_FRAMEWORKS, $content);
$content = AJXP_XMLWriter::replaceAjxpXmlKeywords($content, false);
Expand Down
3 changes: 3 additions & 0 deletions core/src/plugins/gui.ajax/res/js/ajaxplorer_boot_list.txt
@@ -1,3 +1,6 @@
js/vendor/es6/es5-shim.min.js
js/vendor/es6/es5-sham.min.js
js/vendor/es6/browser-polyfill.js
js/vendor/prototype/prototype.js
js/vendor/prototype/prototype.livepipe.js
js/vendor/prototype/prototype.oo.js
Expand Down
@@ -1,3 +1,6 @@
js/vendor/es6/es5-shim.min.js
js/vendor/es6/es5-sham.min.js
js/vendor/es6/browser-polyfill.js
js/vendor/prototype/prototype-1.6.js
js/vendor/prototype/prototype.livepipe.js
js/vendor/prototype/prototype.oo.js
Expand All @@ -6,4 +9,4 @@ js/vendor/prototype/jsProgressBarHandler.js
js/ui/prototype/http/class.Connexion.js
js/core/util/HasherUtils.js
js/ui/prototype/util/ajxp_utils.js
js/ui/prototype/class.AjxpBootstrap.js
js/ui/prototype/class.AjxpBootstrap.js
1 change: 0 additions & 1 deletion core/src/plugins/gui.ajax/res/js/ajaxplorer_list.txt
@@ -1,4 +1,3 @@
js/vendor/es6/browser-polyfill.js
js/core/lang/Observable.js
js/core/lang/Logger.js
js/core/util/LangUtils.js
Expand Down
835 changes: 405 additions & 430 deletions core/src/plugins/gui.ajax/res/js/core/Pydio.js

Large diffs are not rendered by default.

0 comments on commit 3ebcc9c

Please sign in to comment.