351. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/7/2018 11:36:22 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.

351.1 Files compared

# Location File Last Modified
1 C:\SCRUB\MHED\MHED\VATS 2.3.0\var-utility-web-2.3.0@19406cb7810\app\src\modules\var-utility\pages\institution-choice institution-choice_controller.js Thu Sep 13 18:55:48 2018 UTC
2 C:\MHED-scrubbed\MHED\MHED\VATS 2.3.0\var-utility-web-2.3.0@19406cb7810\app\src\modules\var-utility\pages\institution-choice institution-choice_controller.js Fri Dec 7 13:49:56 2018 UTC

351.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 94
Changed 2 6
Inserted 0 0
Removed 0 0

351.3 Comparison options

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

351.4 Active regular expressions

No regular expressions were active.

351.5 Comparison detail

  1   define(['a pp', 'Inst itutionsSe rvice'], f unction(ap p) {
  2           'u se strict' ;
  3  
  4           ap p.controll er('Instit utionChoic eControlle r',
  5                    func tion($scop e, $stateP arams, $st ate, mhpus er, Instit utionsServ ice) {
  6                             $scope .instituti onSelectio n = null;
  7                             $scope .primaryHe aderTitle  = $statePa rams.modul eName + "  - " + $sta teParams.p rimaryHead erTitle;
  8                             $scope .userFirst LastName =  mhpuser.f irstName +  " " + mhp user.lastN ame;
  9                             $scope .parentFac ilityName  = mhpuser. facilityNa me;
  10                             $scope .today = n ew Date();
  11                             $scope .instituti onOptions  = [];
  12                             var MI N_STRING_C OMPARISON_ VALUE = St ring.fromC harCode(0) ;
  13  
  14                             var in stitutions  = Institu tionsServi ce.institu tions.data ;
  15  
  16                             var in stitutionN ames = _.m ap(institu tions,  'd ivisionNam e');
  17                             $scope .instituti onOptions  = _.sortBy (instituti onNames,   function ( institutio nName) {
  18                                      // Sort  by the ins titutionNa me, itself , but ensu re the par ent facili ty name co mes first
  19                                      return i nstitution Name === $ scope.pare ntFacility Name ? MIN _STRING_CO MPARISON_V ALUE : ins titutionNa me;
  20                             });
  21  
  22                             $scope .openSetti ngs = func tion(insti tutionSele ction) {
  23                                      institut ionSelecti on = {
  24                                               divisionNa me: instit utionSelec tion
  25                                      };
  26  
  27                                       var f DNS     troller =  this.insti tutionsCho iceForm;
  28                                       f DNS     troller.$s etSubmitte d();
  29  
  30                                       f DNS     troller.va lidationSu mmary.vali date().the n(function () {
  31  
  32                                               var index  = -1;
  33  
  34                                               institutio ns.forEach (function( x, i) {
  35                                                       if (x.divisio nName ===  institutio nSelection .divisionN ame){
  36                                                                inde x = i;
  37                                                       }
  38                                               });
  39  
  40                                               if (index  === -1) {
  41                                                       th row ("Erro r finding  facility l ocation!") ;
  42                                               }
  43  
  44                                               Institutio nsService. setActiveI nstitution (instituti ons[index] );
  45                                               $state.go( "main.auth .two-panel .secondary -navigatio n.var-util ity");
  46                                      });
  47                             }
  48                    }
  49           );
  50   });