1 2//Sys.Application.add_load(function () { 3// var obj = $find("MpeGenericSuccess"); 4// alert(obj); 5//}); 6var popupWindow = null; 7 8function focusPopup() { 9 if (popupWindow && !popupWindow.closed) { popupWindow.focus(); } 10} 11 12function openWindowStandard(url) { 13 if (url != null) { 14 var left = (screen.width / 2) - (1300 / 2); 15 var top = (screen.height / 2) - (700 / 2); 16 popupWindow = window.open(url, "_blank", 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, height=700,width=1300, top=' + top + ', left=' + left); 17 popupWindow.focus(); 18 } 19 return false; 20} 21 22function openWindowSmall(url) { 23 if (url != null) { 24 var left = (screen.width / 2) - (500 / 2); 25 var top = (screen.height / 2) - (250 / 2); 26 popupWindow = window.open(url, "_blank", 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, height=250,width=500, top=' + top + ', left=' + left); 27 popupWindow.focus(); 28 } 29 return false; 30} 31 32function openWindowMeduim(url) { 33 if (url != null) { 34 var left = (screen.width / 2) - (900 / 2); 35 var top = (screen.height / 2) - (650 / 2); 36 popupWindow = window.open(url, "_blank", 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, height=650,width=900, top=' + top + ', left=' + left); 37 popupWindow.focus(); 38 } 39 return false; 40} 41 42//function openSuccessMessage() { 43// if ($find('MpeGenericSuccess') == null) { 44// var prm = Sys.WebForms.PageRequestManager.getInstance(); 45// prm.add_endRequest(function () { 46// // re-bind your jQuery events here 47// $find('MpeGenericSuccess').show(); 48// }); 49// } 50// else 51// $find('MpeGenericSuccess').show(); 52//} 53 54//function openSuccessMessageAndOpenPDF(pdfFilePath) { 55// openWindowMeduim(pdfFilePath); 56// $find('MpeGenericSuccess').show(); 57//} 58 59//jQuery(document).ready(function () { 60// if (jQuery(".select").length > 0) { 61// jQuery(".select").select2(); 62// jQuery(".select").on("change", function (e) { 63 64// }); 65// } 66//}); 67 68//function runSelectJquery() { 69// if (jQuery(".select").length > 0) { 70// jQuery(".select").select2(); 71// jQuery(".select").on("change", function (e) { 72 73// }); 74// } 75//}
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.