rem: var pos = WebForm_GetElementPosition(this); this.elements['__SCROLLPOSITIONX'].value = WebForm_GetScrollX() - pos.x; this.elements['__SCROLLPOSITIONY'].value = WebForm_GetScrollY() - pos.y; if ((typeof(this.oldSubmit) != "undefined") && (this.oldSubmit != null)) { return this.oldSubmit(); 
add: var pos = this.WebForm_GetElementPosition(this._form); this._form.elements['__SCROLLPOSITIONX'].value = this.WebForm_GetScrollX() - pos.x; this._form.elements['__SCROLLPOSITIONY'].value = this.WebForm_GetScrollY() - pos.y; if ((typeof(this._form.oldSubmit) != "undefined") && (this._form.oldSubmit != null)) { return this._form.oldSubmit(); 
context: webForm.WebForm_SaveScrollPositionSubmit = function (){	var pos = WebForm_GetElementPosition(this);	this.elements['__SCROLLPOSITIONX'].value = WebForm_GetScrollX() - pos.x;	this.elements['__SCROLLPOSITIONY'].value = WebForm_GetScrollY() - pos.y;	if ((typeof(this.oldSubmit) != "undefined") && (this.oldSubmit != null)) {		return this.oldSubmit();	}	return true;}
meta: 172	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/172/26e133c6499135531a32a75bf3bdc6876000f14d/webform.js/buggy/mcs/class/System.Web/resources/webform.js