summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/boot.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2016-06-16 13:44:21 +0200
committerGéry Debongnie <ged@odoo.com>2016-06-17 13:32:37 +0200
commit00120a9271b8c52c1ed3a392e0e66f3e8c9a6893 (patch)
tree2ed273420b423a0f0f4f11fbdd33934a4fc4988a /addons/web/static/src/js/boot.js
parent2254abbde72862e7842614c33e261571eaebae64 (diff)
[REF] web: refactor and simplify web.core
Diffstat (limited to 'addons/web/static/src/js/boot.js')
-rw-r--r--addons/web/static/src/js/boot.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js
index f070730886d..842858926a9 100644
--- a/addons/web/static/src/js/boot.js
+++ b/addons/web/static/src/js/boot.js
@@ -267,30 +267,4 @@
};
$(log_when_loaded);
-
- // IE patch
- //-------------------------------------------------------------------------
- if (typeof(console) === "undefined") {
- // Even IE9 only exposes console object if debug window opened
- window.console = {};
- ('log error debug info warn assert clear dir dirxml trace group'
- + ' groupCollapsed groupEnd time timeEnd profile profileEnd count'
- + ' exception').split(/\s+/).forEach(function(property) {
- console[property] = _.identity;
- });
- }
-
- /**
- Some hack to make placeholders work in ie9.
- */
- if (!('placeholder' in document.createElement('input'))) {
- document.addEventListener("DOMNodeInserted",function(event){
- var nodename = event.target.nodeName.toLowerCase();
- if ( nodename === "input" || nodename === "textarea" ) {
- $(event.target).placeholder();
- }
- });
- }
-
-
})();