jump to top
This commit is contained in:
parent
bce09bf524
commit
525fd3a718
|
@ -12,7 +12,7 @@ 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);
|
||||||
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
|
||||||
|
@ -25,7 +25,9 @@ function ajSUBMIT(div,obj,display) {
|
||||||
|
|
||||||
function ajDISPLAY(div,urlParameters,display,ns) {
|
function ajDISPLAY(div,urlParameters,display,ns) {
|
||||||
var pageDiv = getDiv(div);
|
var pageDiv = getDiv(div);
|
||||||
|
if (!ns) {
|
||||||
|
window.scrollTo(0,0);
|
||||||
|
}
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue