Whups, windows.scrollTo on wrong line.

This commit is contained in:
Kaleb Murphy 2008-05-21 16:34:56 +00:00
parent d7f38c4e37
commit 6832eacc7c

View file

@ -29,12 +29,12 @@ Survey.Comm= new function(){
this.callback = {
window.scrollTo(0, 0);
upload:function(o){
callMade = 0;
Survey.Comm.callServer('','loadQuestions');
},
success:function(o){
window.scrollTo(0,0);
callMade = 0;
var response = '';
response = YAHOO.lang.JSON.parse(o.responseText);
@ -55,7 +55,6 @@ Survey.Comm= new function(){
alert("Last request failed "+o.statusText);
}
},
timeout: 15000
};
this.callServer = function(data,functionName,form,hasFile){