forked from I2P_Developers/i2p.i2p
Wizard: Ajax fixes for IE (thx zlatinb) (summary bar also)
Form notices on results panel Hide results if skipped
This commit is contained in:
@ -6,6 +6,8 @@ function ajax(url, target, refresh) {
|
||||
req = new XMLHttpRequest();
|
||||
req.onreadystatechange = function() {ajaxDone(url, target, refresh);};
|
||||
req.open("GET", url, true);
|
||||
// IE https://www.jamesmaurer.com/ajax-refresh-problem-w-ie-not-refreshing.asp
|
||||
req.setRequestHeader("If-Modified-Since","Sat, 1 Jan 2000 00:00:00 GMT");
|
||||
req.send(null);
|
||||
// IE/Windows ActiveX version
|
||||
} else if (window.ActiveXObject) {
|
||||
@ -13,6 +15,8 @@ function ajax(url, target, refresh) {
|
||||
if (req) {
|
||||
req.onreadystatechange = function() {ajaxDone(target);};
|
||||
req.open("GET", url, true);
|
||||
// IE https://www.jamesmaurer.com/ajax-refresh-problem-w-ie-not-refreshing.asp
|
||||
req.setRequestHeader("If-Modified-Since","Sat, 1 Jan 2000 00:00:00 GMT");
|
||||
req.send(null);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user