Produced by Araxis Merge on 12/4/2017 8:32:30 AM Central Standard 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 | VCCM.zip\VCCM\CRM_solutions\FTPResources\source\WebResources\ftp_\Veteran\JScript | PatientFlags.js | Thu Nov 30 12:26:44 2017 UTC |
| 2 | VCCM.zip\VCCM\CRM_solutions\FTPResources\source\WebResources\ftp_\Veteran\JScript | PatientFlags.js | Thu Nov 30 16:39:43 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 118 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| 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 | $(document ).ready(fu nction () { | |
| 2 | $("#re ctangle"). height($(d ocument).h eight()); | |
| 3 | getDat aParam(); | |
| 4 | }); | |
| 5 | ||
| 6 | function g etDataPara m() { | |
| 7 | var va ls = []; | |
| 8 | if (lo cation.sea rch != "") { | |
| 9 | va ls = locat ion.search .substr(1) .split("&" ); | |
| 10 | fo r (var i i n vals) { | |
| 11 | vals[i] = vals[i]. replace(/\ +/g, " "). split("=") ; | |
| 12 | } | |
| 13 | // look for t he paramet er named ' data' | |
| 14 | va r found = false; | |
| 15 | fo r (var i i n vals) { | |
| 16 | if (vals [i][0].toL owerCase() == "data" ) { | |
| 17 | pars eDataValue (vals[i][1 ]); | |
| 18 | foun d = true; | |
| 19 | brea k; | |
| 20 | } | |
| 21 | } | |
| 22 | } | |
| 23 | } | |
| 24 | ||
| 25 | function p arseDataVa lue(data2) { | |
| 26 | try { | |
| 27 | debugger; | |
| 28 | var Patien tFlagsUrl = 'https:/ /qacrmdac. np.crm.vrm .vba. DNS /WebParts/ api/flags/ 1.0/json/f tpCRM/'; | |
| 29 | jQuery.sup port.cors = true; | |
| 30 | $. get(Patien tFlagsUrl + data2, f unction (d ata, statu s) { | |
| 31 | $.each(d ata, funct ion () { | |
| 32 | if ( this.Categ ory == "I (NATIONAL) ") { | |
| 33 | $("#flagde tails") | |
| 34 | .append( | |
| 35 | $("<h2 id='h2_" + this.Id + "'>" + t his.Type + "</h2>"). click(func tion () { | |
| 36 | $( "#" + this .id.replac e("h2", "p ")).is(":v isible") ? $("#" + t his.id.rep lace("h2", "p")).hid e() : $("# " + this.i d.replace( "h2", "p") ).show(); | |
| 37 | }) | |
| 38 | ) | |
| 39 | .append( | |
| 40 | $("<p id=' p_" + this .Id + "'>" + this.Na me + "</p> ") | |
| 41 | ); | |
| 42 | } | |
| 43 | else { | |
| 44 | $("#flagde tails") | |
| 45 | .append( | |
| 46 | $("<h2 id='h2_" + this.Id + "'>" + t his.Type + "</h2>"). click(func tion () { | |
| 47 | $( "#" + this .id.replac e("h2", "p ")).is(":v isible") ? $("#" + t his.id.rep lace("h2", "p")).hid e() : $("# " + this.i d.replace( "h2", "p") ).show(); | |
| 48 | }) | |
| 49 | ) | |
| 50 | .append( | |
| 51 | $("<p id=' p_" + this .Id + "'>" + this.Na me + "</p> ") | |
| 52 | ); | |
| 53 | } | |
| 54 | }); | |
| 55 | }) ; | |
| 56 | } | |
| 57 | catch (err) { | |
| 58 | al ert('Patie nt Flags F unction Er ror(parseD ataValue): ' + err.m essage); | |
| 59 | } | |
| 60 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.