SF Bug #3370546 - AjaxEnabled create and delete entry fails on IE9

This commit is contained in:
Deon George 2011-10-06 09:12:54 +11:00
parent 76e6dad13e
commit d5744b055a

View File

@ -15,13 +15,13 @@ function ajSUBMIT(div,obj,display) {
window.scrollTo(0,95);
makeHttpRequest('cmd.php',getParameters(obj.parentNode)+'meth=ajax','POST','alertAJ','cancelAJ',div);
if (pageDiv)
includeHTML(pageDiv,'<img src="images/ajax-progress.gif"><br><small>'+display+'...</small>');
else
return true;
makeHttpRequest('cmd.php',getParameters(obj.parentNode)+'meth=ajax','POST','alertAJ','cancelAJ',div);
return false;
}
@ -31,13 +31,13 @@ function ajDISPLAY(div,urlParameters,display,ns) {
if (! ns)
window.scrollTo(0,95);
makeHttpRequest('cmd.php',urlParameters+'&meth=ajax','GET','alertAJ','cancelAJ',div);
if (pageDiv)
includeHTML(pageDiv,'<img src="images/ajax-progress.gif"><br><small>'+display+'...</small>');
else
return true;
makeHttpRequest('cmd.php',urlParameters+'&meth=ajax','GET','alertAJ','cancelAJ',div);
return false;
}