From: Benoît Pin Date: Wed, 9 Jul 2014 09:00:35 +0000 (+0200) Subject: Erreur history.pushState (IE8) passées silencieuses. X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/9bd0dc7c3396bc90f5cef31a77b67db283fd12b8?ds=inline;hp=--cc Erreur history.pushState (IE8) passées silencieuses. --- 9bd0dc7c3396bc90f5cef31a77b67db283fd12b8 diff --git a/skins/ajax_scripts/javascript_events_api.js b/skins/ajax_scripts/javascript_events_api.js index 4e721e2..bff4300 100644 --- a/skins/ajax_scripts/javascript_events_api.js +++ b/skins/ajax_scripts/javascript_events_api.js @@ -27,6 +27,9 @@ var getCopyOfNode; /* (node) returns a clone of the given node. * to inject HMTL code inside tags where innerHtml is read only (IE) */ var copyPrototype; // (descendant, parent) lightwheight javascript inheritance +if (!history.pushState) { + history.pushState = function(){}; +} (function(){