n Patient Portal

2014-2018 QSI Management, LLC

); $(divErrorMessage span).text(); $(.divTempNotification).text(); $(divErrorMessage).append(

); $(loginTxtUsrName, loginTxtPwd).parent(.TextBoxPlaceHolder).addClass(TextBoxPlaceHolder_Error); $(loginTxtUsrName).focus(); if ($(loginTxtUsrName).val() == ) $(loginTxtUsrName).attr(aria-invalid, true); else $(loginTxtUsrName).attr(aria-invalid, false); if ($(loginTxtPwd).val() == ) $(loginTxtPwd).attr(aria-invalid, true); else $(loginTxtPwd).attr(aria-invalid, false); return false; else toggleIsBusyOverlay(true); ); //If account is locked on security question screen if ( == Yes) var errorMessage = $(divErrorMessage span).text(); $imgSource = /m/Content/images/alert.png; $(divErrorMessage).css(padding-top, 10px); $(divErrorMessage).append(

); $(divErrorMessage span).text(); $clickHereLink =click here; if (!isiOs()) $(divErrorMessage).append(

+ Your account has been locked because of successive incorrect login attempts and will automatically un-lock after approximately 20 minutes. + + $clickHereLink + +

); else $(divErrorMessage).append(

+ Your account has been locked because of successive incorrect login attempts and will automatically un-lock after approximately 20 minutes. + + $clickHereLink + +

); setErrorMessageForiOs(Your account has been locked because of successive incorrect login attempts and will automatically un-lock after approximately 20 minutes.); $(.loginErrorMessage).attr(role, alert); //Displayes pop up message for account lock after 2nd and 3rd failed login attempt if ($(hFailedLoginAttempt).val() == 1 $(hFailedLoginAttempt).val() == 2) sertAfter($(divOkCancel)); $(divNeedHelp).show(); function OkExecute() var msgBoxObj = message: Account will be locked for 20 minutes after 4 failed login attempts. Please remember that username and password are case sensitive., buttons: Ok: OkExecute ; setErrorMessageForiOs(Account will be locked for 20 minutes after 4 failed login attempts. Please remember that username and password are case sensitive.); $(divErrorMessage).html(); ShowMsgBox(msgBoxObj, undefined, loginTxtUsrName); $(divOkCancel btnDeleteOk).val(CLOSE); //focus should not be set on IOS devices on page load or postback – Tested in IOS 9,10 if (!isiOs()) $(divDeleteMsg).focus(); //Error validation for invalid credentials if ($(divErrorMessage span).text().trim() != ) var errorMessage = $(divErrorMessage span).text(); $imgSource = /m/Content/images/alert.png; $(divErrorMessage).css(padding-top, 10px); $(divErrorMessage).append(

); $(divErrorMessage span).text(); $(.divTempNotification).text(); if dexOf((Your account has been locked because of successive incorrect login attempts and will automatically un-lock after approximately 20 minutes.).trim())

-1)) $clickHereLink =click here; if (!isiOs()) $(divErrorMessage).append(

); else $(divErrorMessage).append(

); else if (!isiOs()) $(divErrorMessage).append(

); else $(divErrorMessage).append(

); $(loginTxtUsrName, loginTxtPwd).parent(.TextBoxPlaceHolder).addClass(TextBoxPlaceHolder_Error); setErrorMessageForiOs(errorMessage); //wcag – IOS voice over page load/post back focus issue if (!isiOs()) $(loginTxtUsrName).focus(); //Session Timeout message if ($(.divTempNotification).text().trim() != ) var errorMessage = $(.divTempNotification).text(); $imgSource = /m/Content/images/alert.png; $(.divTempNotification).css(padding-top, 10px); $(.divTempNotification).text(); $(.divTempNotification).append(

); if (!isiOs()) $(.divTempNotification).append(

); else $(.divTempNotification).append(

); setErrorMessageForiOs(errorMessage); ); function KeyUp() var userAgent = erAgent; if ((!(userAgent.match(/Android/i) userAgent.match(/webOS/i) userAgent.match(/iPhone/i) userAgent.match(/iPad/i) userAgent.match(/iPod/i) userAgent.match(/BlackBerry/i) userAgent.match(/Windows Phone/i))) && (navigator.appName == Microsoft Internet Explorer)) //Desktop IE $(loginTxtPwd).watermark(password ); $(loginTxtPwd).parent().parent().removeClass(errorLoginPassword); return true;

; var msgBoxObj98 = header: You have switched patient., message: alertWrapper, imgSrc: /m/Content/images/swtich-patient-popup.png, imgWidth: 200px, outsideClick: true, autoHide: 2000 ; ssage); ShowMsgBox(msgBoxObj98); if (False == True) $(acompose).hide(); if (False == False && False == False) InitializeOwlCarousal(); var owl = $(owl-demo).data(owlCarousel); JumpBottomMenu(owl); else $(footer).hide(); (function (i, s, o, g, r, a, m) i[GoogleAnalyticsObject] = r; i[r] = i[r] function () (i[r].q = i[r].q []).push(arguments) , i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src= g; sertBefore(a, m) )(window, document, script, // ga); ga(create, UA-44873915-5, ); ga(send, pageview); //Carousal keyboard focus / IOS and Android – do not use tab or shift tab key checks in future which will not work on IOS //def163665 $(a[id^=bottomMenuAnchor-]).on(focus, function () if (!$(this).parent(div).parent(div).hasClass(active)) if ($(this).parent(div).parent(div).next(div).hasClass(active)) $(bottomLeftArrow).trigger(click); else JumpToBottomMenu(owl, dashboard); ); //Talkback announces Double Tap to activate or Press Alt plus Enter to activate on non-clickable element // To fix this, unbind Form click event. It would fix for Heading (H1, H2..), span, P elements. if (isAndroid()) $(form).unbind(click); ); function handleAPIBanner(hideshow) $.ajax( type: POST, url: /m/Account/ToggleAPIBanner, data: JSON.stringify( showBanner: hideshow ), dataType: json, contentType: application/json; charset=utf-8, success: function (response) if (response.result === true) if (hideshow === 1) $(divApiMsg).show(); $(content).css(padding-bottom, 68); else $(divApiMsg).hide(); $(content).css(padding-bottom,); else , error: function (errorThrown) //alert(errorThrown: + errorThrown.responseText); , ); return false; function HandleSession(e) $([/m/Content/images/time-popup.png]).preload(); var msgSessionPrompt = message: Your session is about to timeout, would you like to continue?, imgSrc: /m/Content/images/time-popup.png, buttons: Ok: Reconnect ; var isEntirePageHidden = false; var isSessionTimeoutPopup = true; ShowMsgBox(msgSessionPrompt, undefined, undefined, isEntirePageHidden, isSessionTimeoutPopup); function DisplayNotification(message, success) if (success == 1) var msgBoxObj9 = message: message, imgSrc: /m/Content/images/mail-sent-popup.png, outsideClick: true, autoHide: 2000 ; else var msgBoxObj9 = message: message, imgSrc: /m/Content/images/alert-popup.png, outsideClick: false, buttons: Ok: DoNothing ; ShowMsgBox(msgBoxObj9); $(function () $(window).resize(function () var spaceSize = $(window).width() – (112 + 30 + 10); // 112 = flyout icon + previous icon + compose/med/appt icon + 30 px offset + 10px since the phr icon on right is bigger var namewidth = $(userDisplayDivParent).width() + 37; //This change was limiting the name display – Fixed for Defect 122907 //$(.lblName).css(width, spaceSize + px); if (spaceSize

namewidth) $(userDisplayDivParent).css(width, auto); $(.imgDropdownArrow).css(padding-right, 0px); //Reset when name has space $(divDisplayName).css(width, auto); // Android stock browser fix on orientation change header footer not expanding // without this line the header doesnt expand properly – wierd error var owl = $(owl-demo).data(owlCarousel); JumpBottomMenu(owl); ).resize(); // trigger resize event ); $(window).on(orientationchange, function (event) // Android stock browser fix on orientation change header footer not expanding setTimeout(function () $(bottomLeftArrow).show(); $(bottomRightArrow).show(); var owl = $(owl-demo).data(owlCarousel); JumpBottomMenu(owl); // Android stock browser fix on orientation change header footer not expanding if (event.orientation == landscape) $(div.owl-pagination).css(width, 100%); $(divDeleteMsg).removeClass(modalPopupFloating).addClass(modalPopupSticked); else $(div.owl-pagination).css(width, auto); $(divDeleteMsg).removeClass(modalPopupSticked).addClass(modalPopupFloating); // Android stock browser fix on orientation change header footer not expanding $(window).trigger(resize); , 1000); if (event.orientation == landscape && erAgent.match(/Windows Phone/i) && $(hiddenIsAuthenticated).val() != True) $(html).css(overflow, hidden); ChangeOverlay(); ); $(document).ready(function () // //if (isiPhone() isiPad()) // //iPhoneFixHeader(); // // //user-scalable value changed to 0 to avoid zooming the page on text field focus on iPhone $(meta[name=viewport]).attr(content, width=device-width, initial-scale=1.0, maximum-scale=2.0, minimum-scale=0.5, user-scalable=0, minimal-ui); //Set Grouping for first input, select or textarea element in each fieldset on page setGrouping(); if ($.trim($(hdnIsBeta).val()).length == 0) //Set the Session[IsBeta] value to a hidden field so that after auto session timeout the value can be passed as a query string parameter to the action // as after auto session timeout, Session[IsBeta] would be null $(hdnIsBeta).val(); );