Support the VirtueMart project and become a member
Virtuemart.updateContent = function(url) {
if (document.all && !window.atob) window.location.href = url;
Virtuemart.updateContent = function(url) { if (document.all && !window.atob) window.location.href = url; if(Virtuemart.isUpdatingContent) return false; Virtuemart.isUpdatingContent = true; url += url.indexOf('&') == -1 ? '?tmpl=component' : '&tmpl=component'; console.log("UpdateContent URI "+url); $.ajax({ url: url, dataType: 'html', success: function(data) { var el = $(data).find(Virtuemart.containerSelector); if (! el.length) el = $(data).filter(Virtuemart.containerSelector); if (el.length) { Virtuemart.container.html(el.html()); Virtuemart.updateCartListener(); Virtuemart.updateDynamicUpdateListeners(); //Virtuemart.updateCartListener(); if (Virtuemart.updateImageEventListeners) Virtuemart.updateImageEventListeners(); if (Virtuemart.updateChosenDropdownLayout) Virtuemart.updateChosenDropdownLayout(); } Virtuemart.isUpdatingContent = false; } }); Virtuemart.isUpdatingContent = false; }
Milbo, I think, it would be nice that your developpers do something.
I have look for statistic. IE8+9. Usage is +/- 7%, depending the stat counters you look.Milbo, I think, it would be nice that your developpers do something.
try { history.pushState(stateObj, "", url); } catch(err) { // Fallback for IE window.location.href = url; return false; }
I did already something and tested your ideas, but without luck. So my solution is a try/catch now. Code: [Select] try { history.pushState(stateObj, "", url); } catch(err) { // Fallback for IE window.location.href = url; return false; }
and a config to disable the dynupdate (hmm should be called reload, actually) is already there. jdynupdate, and here the tutorial how to set http://forum.virtuemart.net/index.php?topic=128956.0
what about the facebox?