fixed IE problem (3446037)
This commit is contained in:
parent
1098088e2a
commit
e9e7a4137f
|
@ -12,29 +12,32 @@ var http_request_error_callback = '';
|
||||||
|
|
||||||
function ajSUBMIT(div,obj,display) {
|
function ajSUBMIT(div,obj,display) {
|
||||||
var pageDiv = getDiv(div);
|
var pageDiv = getDiv(div);
|
||||||
|
|
||||||
window.scrollTo(0,0);
|
window.scrollTo(0,0);
|
||||||
|
|
||||||
|
makeHttpRequest('cmd.php',getParameters(obj.parentNode)+'meth=ajax','POST','alertAJ','cancelAJ',div);
|
||||||
|
|
||||||
if (pageDiv)
|
if (pageDiv)
|
||||||
includeHTML(pageDiv,'<img src="images/ajax-progress.gif"><br><small>'+display+'...</small>');
|
includeHTML(pageDiv,'<img src="images/ajax-progress.gif"><br><small>'+display+'...</small>');
|
||||||
else
|
else
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
makeHttpRequest('cmd.php',getParameters(obj.parentNode)+'meth=ajax','POST','alertAJ','cancelAJ',div);
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function ajDISPLAY(div,urlParameters,display,ns) {
|
function ajDISPLAY(div,urlParameters,display,ns) {
|
||||||
var pageDiv = getDiv(div);
|
var pageDiv = getDiv(div);
|
||||||
if (!ns) {
|
|
||||||
|
if (! ns)
|
||||||
window.scrollTo(0,0);
|
window.scrollTo(0,0);
|
||||||
}
|
|
||||||
|
makeHttpRequest('cmd.php',urlParameters+'&meth=ajax','GET','alertAJ','cancelAJ',div);
|
||||||
|
|
||||||
if (pageDiv)
|
if (pageDiv)
|
||||||
includeHTML(pageDiv,'<img src="images/ajax-progress.gif"><br><small>'+display+'...</small>');
|
includeHTML(pageDiv,'<img src="images/ajax-progress.gif"><br><small>'+display+'...</small>');
|
||||||
else
|
else
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
makeHttpRequest('cmd.php',urlParameters+'&meth=ajax','GET','alertAJ','cancelAJ',div);
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue