Whups, windows.scrollTo on wrong line.
This commit is contained in:
parent
d7f38c4e37
commit
6832eacc7c
1 changed files with 1 additions and 2 deletions
|
|
@ -29,12 +29,12 @@ Survey.Comm= new function(){
|
||||||
|
|
||||||
|
|
||||||
this.callback = {
|
this.callback = {
|
||||||
window.scrollTo(0, 0);
|
|
||||||
upload:function(o){
|
upload:function(o){
|
||||||
callMade = 0;
|
callMade = 0;
|
||||||
Survey.Comm.callServer('','loadQuestions');
|
Survey.Comm.callServer('','loadQuestions');
|
||||||
},
|
},
|
||||||
success:function(o){
|
success:function(o){
|
||||||
|
window.scrollTo(0,0);
|
||||||
callMade = 0;
|
callMade = 0;
|
||||||
var response = '';
|
var response = '';
|
||||||
response = YAHOO.lang.JSON.parse(o.responseText);
|
response = YAHOO.lang.JSON.parse(o.responseText);
|
||||||
|
|
@ -55,7 +55,6 @@ Survey.Comm= new function(){
|
||||||
alert("Last request failed "+o.statusText);
|
alert("Last request failed "+o.statusText);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
timeout: 15000
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.callServer = function(data,functionName,form,hasFile){
|
this.callServer = function(data,functionName,form,hasFile){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue