Produced by Araxis Merge on 6/9/2017 3:51:41 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:51:41 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-web\src\main\webapp\WEB-INF\web | editMailDatesForm.jsp | Fri Apr 21 20:03:30 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 149 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | <%-- | |||||
| 2 | Docume nt : edi tMailDates Form | |||||
| 3 | Create d on : May 17, 2016, 7:55:35 P M | |||||
| 4 | Author : Joh ann Sonnen berg | |||||
| 5 | --%> | |||||
| 6 | ||||||
| 7 | <%@page co ntentType= "text/html " pageEnco ding="UTF- 8"%> | |||||
| 8 | <%@taglib uri="http: //java.sun .com/jsp/j stl/core" prefix="c" %> | |||||
| 9 | <%@taglib uri="http: //java.sun .com/jsp/j stl/functi ons" prefi x="fn"%> | |||||
| 10 | <%@taglib uri="http: //java.sun .com/jsp/j stl/fmt" p refix="fmt "%> | |||||
| 11 | <%@taglib tagdir="/W EB-INF/tag s/cpp" pre fix="cpp"% > | |||||
| 12 | <%@taglib tagdir="/W EB-INF/tag s/date" pr efix="date "%> | |||||
| 13 | <jsp:useBe an id="now " class="j ava.util.D ate" scope ="page" /> | |||||
| 14 | ||||||
| 15 | <!DOCTYPE HTML PUBLI C "-//W3C/ /DTD HTML 4.01 Trans itional//E N" "http:/ /www.w3.or g/TR/html4 /loose.dtd "> | |||||
| 16 | ||||||
| 17 | <html> | |||||
| 18 | <head> | |||||
| 19 | <m eta http-e quiv="Cont ent-Type" content="t ext/html; charset=wi ndows-1252 "> | |||||
| 20 | <% @include f ile="metaC ommon.jsp" %> | |||||
| 21 | <s cript> | |||||
| 22 | jQuery(d ocument).r eady(funct ion () { | |||||
| 23 | ||||||
| 24 | jQue ry(".useDa te").datep icker({ | |||||
| 25 | dateFormat : 'mm/dd/y y' | |||||
| 26 | }); | |||||
| 27 | ||||||
| 28 | jQue ry("#updat eMailNotif ications") .on('click ', functio n (event) { | |||||
| 29 | //hide the error mes sage in ca se it was showing | |||||
| 30 | jQuery('#e rrorMesssa ge').hide( ); | |||||
| 31 | ||||||
| 32 | //loop ove r all the mailDates and check each one f or being v alid | |||||
| 33 | jQuery('.u seDate').e ach(functi on () { | |||||
| 34 | if (jQ uery(this) .val().len gth > 0 && !isDate(j Query(this ).val())) { | |||||
| 35 | jQ uery('#err orMessage' ).html("Yo u entered an invalid date: " + jQuery(th is).val()) ; | |||||
| 36 | jQ uery('#err orMessage' ).show(); | |||||
| 37 | ev ent.preven tDefault() ; | |||||
| 38 | re turn false ; | |||||
| 39 | } | |||||
| 40 | }); | |||||
| 41 | ||||||
| 42 | <%-- Dis allow dupl icate date s --%> | |||||
| 43 | var unique Dates = {} ; | |||||
| 44 | jQuery('.u seDate').e ach(functi on () { | |||||
| 45 | if (jQ uery(this) .val() !== "") { | |||||
| 46 | va r date = n ew Date(jQ uery(this) .val()); | |||||
| 47 | va r date = ( date.getMo nth() + 1) + '/' + d ate.getDat e() + '/' + date.get FullYear() ; | |||||
| 48 | if (uniqueDa tes[date] === undefi ned) { | |||||
| 49 | uniqueDa tes[date] = jQuery(t his).val() ; | |||||
| 50 | } else { | |||||
| 51 | jQuery(' #errorMess age').html ('You have entered a duplicate date: ' + date); | |||||
| 52 | jQuery(' #errorMess age').show (); | |||||
| 53 | event.pr eventDefau lt(); | |||||
| 54 | return f alse; | |||||
| 55 | } | |||||
| 56 | } | |||||
| 57 | }); | |||||
| 58 | ||||||
| 59 | return tru e; | |||||
| 60 | }); | |||||
| 61 | ||||||
| 62 | jQue ry("#mailD ates").on( 'click', ' a.removeMa ilDate', f unction (e vent) { | |||||
| 63 | //remove t he div (an d contents ) around t he date th at was cli cked to be removed | |||||
| 64 | jQuery(thi s).closest ('div').re move(); | |||||
| 65 | ||||||
| 66 | event.prev entDefault (); | |||||
| 67 | return fal se; | |||||
| 68 | }); | |||||
| 69 | ||||||
| 70 | jQue ry("body") .on('click ', 'a.addA notherMail Date', fun ction (eve nt) { | |||||
| 71 | //get the number of inputs | |||||
| 72 | var numDat es = jQuer y(".mailDa teContaine r").length ; | |||||
| 73 | ||||||
| 74 | //append | |||||
| 75 | var rn = n ew Date(). getTime(); | |||||
| 76 | jQuery('#m ailDates') .append('< div class= "pad-botto m-10 mailD ateContain er"> <labe l for="mai lDate' + r n + '" cla ss="no-wid th">Date</ label> <in put type=" text" name ="mailDate " id="mail Date' + rn + '" size ="12" maxl ength="10" class="us eDate" val ue="" /> < a href="#" class="re moveMailDa te" aria-l abel="Remo ve date">< i class="f a fa-trash -o removeM ailDate va p-required " aria-hid den="true" title="Re move date" alt="Remo ve date">< /i></a></d iv>'); | |||||
| 77 | ||||||
| 78 | //give it a date pic ker | |||||
| 79 | jQuery("#m ailDate" + rn).datep icker({ | |||||
| 80 | dateFo rmat: 'mm/ dd/yy' | |||||
| 81 | }); | |||||
| 82 | }); | |||||
| 83 | ||||||
| 84 | jQue ry("#showL og").on('c lick', fun ction (eve nt) { | |||||
| 85 | if (jQuery ('#showLog ').text() == 'Show l og') { | |||||
| 86 | if (!j Query('#de layedConse ntId').val ().length) { | |||||
| 87 | va r url = '& consentDir Id=' + jQu ery('#cons entDirId') .val(); | |||||
| 88 | } else { | |||||
| 89 | va r url = '& delayedCon sentId=' + jQuery('# delayedCon sentId').v al(); | |||||
| 90 | } | |||||
| 91 | ||||||
| 92 | jQuery .get("Pati entDetails .do_sec?ge tLogEntrie s=true" + url, funct ion (data) { | |||||
| 93 | jQ uery("#log Results"). html(data) ; | |||||
| 94 | }); | |||||
| 95 | } | |||||
| 96 | ||||||
| 97 | jQuery('#l ogResults' ).toggle() ; | |||||
| 98 | jQuery('#s howLog').t ext(jQuery ('#showLog ').text() == 'Show l og' ? 'Hid e log' : ' Show log') ; | |||||
| 99 | jQuery('#s howLogArro w').toggle Class('fa- angle-up f a-angle-do wn'); | |||||
| 100 | }); | |||||
| 101 | ||||||
| 102 | jQue ry('.cance lNoReload' ).on('clic k', functi on (event) { | |||||
| 103 | shouldRelo ad = false ; | |||||
| 104 | }); | |||||
| 105 | }); | |||||
| 106 | </ script> | |||||
| 107 | <t itle>Veter ans Author ization & Preference s - Edit M ail Notifi cation Dat es</title> | |||||
| 108 | </head > | |||||
| 109 | <body> | |||||
| 110 | <d iv id="err orMessage" class="er rors" styl e="display : none;">< /div> | |||||
| 111 | <d iv class=" form-conta iner"> | |||||
| 112 | <form na me="mailDa tesForm" i d="mailDat esForm" ac tion="Pati entDetails .do_sec?ed itMailDate s=true" me thod="POST " onsubmit ="return d oSubmit(th is)"> | |||||
| 113 | <inp ut type="h idden" nam e="delayed ConsentId" id="delay edConsentI d" value=" <c:out val ue="${dela yedConsent Id}"/>" /> | |||||
| 114 | <inp ut type="h idden" nam e="consent DirId" id= "consentDi rId" value ="<c:out v alue="${co nsentDirId }"/>" /> | |||||
| 115 | <div id="mailD ates"> | |||||
| 116 | <c:forEach items="${ mailNotifi cations}" var="md" v arStatus=" i"> | |||||
| 117 | <div c lass="pad- bottom-10 mailDateCo ntainer"> | |||||
| 118 | <l abel for=" mailDate${ i.index + 1}" class= "no-width" >Date</lab el> | |||||
| 119 | <i nput type= "text" nam e="mailDat e" id="mai lDate${i.i ndex + 1}" size="12" maxlength ="10" clas s="useDate " value="< fmt:format Date patte rn="MM/dd/ yyyy" valu e="${md.se ntDate}" / >" /> | |||||
| 120 | <a href="#" class="rem oveMailDat e"><i clas s="fa fa-t rash-o vap -required" aria-hidd en="true" title="Rem ove date" alt="Remov e date"></ i></a> | |||||
| 121 | </div> | |||||
| 122 | </c:forEac h> | |||||
| 123 | <c:if test ="${fn:len gth(mailNo tification s) == 0}"> | |||||
| 124 | <div c lass="pad- bottom-10 mailDateCo ntainer"> | |||||
| 125 | <l abel for=" mailDate1" class="no -width">Da te</label> | |||||
| 126 | <i nput type= "text" nam e="mailDat e" id="mai lDate1" si ze="12" ma xlength="1 0" class=" useDate" v alue="<fmt :formatDat e pattern= "MM/dd/yyy y" value=" ${now}" /> " /> | |||||
| 127 | <a href="#" class="rem oveMailDat e" aria-la bel="Remov e date"><i class="fa fa-trash- o vap-requ ired" aria -hidden="t rue" title ="Remove d ate" alt=" Remove dat e"></i></a > | |||||
| 128 | </div> | |||||
| 129 | </c:if> | |||||
| 130 | </di v> | |||||
| 131 | <div id="divAd dMailDate" > | |||||
| 132 | <a href="# " class="a ddAnotherM ailDate">A dd another </a> | |||||
| 133 | </di v> | |||||
| 134 | <br /> | |||||
| 135 | <div class="pa d-bottom-1 0"> | |||||
| 136 | <label for ="updateMa ilNotifica tions" sty le="displa y:none">Su bmit mail notificati on dates f orm</label > | |||||
| 137 | <input id= "updateMai lNotificat ions" clas s="button" type="sub mit" value ="OK" name ="updateMa ilNotifica tions" alt ="OK" /> | |||||
| 138 | <label for ="cancelMa ilNotifica tionsChang e" style=" display:no ne">Cancel out of ma il notific ation date s form</la bel> | |||||
| 139 | <button id ="cancelMa ilNotifica tionsChang e" onclick ="Modalbox .hide(); r eturn fals e;" class= "cancelNoR eload" tit le="Cancel ">Cancel</ button> | |||||
| 140 | <div class ="pull-rig ht"> | |||||
| 141 | <i cla ss="fa fa- angle-down " aria-hid den="true" id="showL ogArrow">< /i> | |||||
| 142 | <a hre f="#" id=" showLog" c lass="vap- size-11">S how log</a > | |||||
| 143 | </div> | |||||
| 144 | </di v> | |||||
| 145 | <div id="logRe sults" sty le="displa y: none; o verflow-y: scroll; ov erflow-x:h idden; hei ght:100px; backgroun d-color: # f0f0f0; bo rder: 1px #000 solid ;"></div> | |||||
| 146 | </form> | |||||
| 147 | </ div> | |||||
| 148 | </body > | |||||
| 149 | </html> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.