jump to top

This commit is contained in:
Roland Gruber 2011-07-21 17:51:26 +00:00
parent bce09bf524
commit 525fd3a718
1 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,7 @@ var http_request_error_callback = '';
function ajSUBMIT(div,obj,display) {
var pageDiv = getDiv(div);
window.scrollTo(0,0);
if (pageDiv)
includeHTML(pageDiv,'<img src="images/ajax-progress.gif"><br><small>'+display+'...</small>');
else
@ -25,7 +25,9 @@ function ajSUBMIT(div,obj,display) {
function ajDISPLAY(div,urlParameters,display,ns) {
var pageDiv = getDiv(div);
if (!ns) {
window.scrollTo(0,0);
}
if (pageDiv)
includeHTML(pageDiv,'<img src="images/ajax-progress.gif"><br><small>'+display+'...</small>');
else