1ns$(function ($) { 2 // Patch fractional .x, .y form parameters for IE10. 3 if (typeof (Sys) !== 'undefined' && Sys.Browser.agent === Sys.Browser.InternetExplorer && Sys.Browser.version === 10) { 4 Sys.WebForms.PageRequestManager.getInstance()._onFormElementActive = function Sys$WebForms$PageRequestManager$_onFormElementActive(element, offsetX, offsetY) { 5 if (element.disabled) { 6 return; 7 } 8 this._activeElement = element; 9 this._postBackSettings = this._getPostBackSettings(element, element.name); 10 if (element.name) { 11 var tagName = element.tagName.toUpperCase(); 12 if (tagName === 'INPUT') { 13 var type = element.type; 14 if (type === 'submit') { 15 this._additionalInput = encodeURIComponent(element.name) + '=' + encodeURIComponent(element.value); 16 } 17 else if (type === 'image') { 18 this._additionalInput = encodeURIComponent(element.name) + '.x=' + Math.floor(offsetX) + '&' + encodeURIComponent(element.name) + '.y=' + Math.floor(offsetY); 19 } 20 } 21 else if ((tagName === 'BUTTON') && (element.name.length !== 0) && (element.type === 'submit')) { 22 this._additionalInput = encodeURIComponent(element.name) + '=' + encodeURIComponent(element.value); 23 } 24 } 25 }; 26 } 27});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.