SF Bug #3370546 - AjaxEnabled create and delete entry fails on IE9
This commit is contained in:
parent
76e6dad13e
commit
d5744b055a
@ -15,13 +15,13 @@ function ajSUBMIT(div,obj,display) {
|
|||||||
|
|
||||||
window.scrollTo(0,95);
|
window.scrollTo(0,95);
|
||||||
|
|
||||||
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,13 +31,13 @@ function ajDISPLAY(div,urlParameters,display,ns) {
|
|||||||
if (! ns)
|
if (! ns)
|
||||||
window.scrollTo(0,95);
|
window.scrollTo(0,95);
|
||||||
|
|
||||||
|
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
Block a user