Sha256: e49170e44738eea2678a81db220240f495a6ac75a1e7bea3dc66562df8acb237

Contents?: true

Size: 407 Bytes

Versions: 176

Compression:

Stored size: 407 Bytes

Contents

$(document).ready(function(){
  $('#modality-description-select').change(function() {
    var selectedModal = $('#modality-description-select option:selected').text();

    if(selectedModal === "Death") {
      $('.hide-death').hide();
      alert("Please note that after saving the Death modality, all current prescriptions will be terminated!")
    } else {
      $('.hide-death').show();
    }
  });
});

Version data entries

176 entries across 176 versions & 1 rubygems

Version Path
renalware-core-2.0.127 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.126 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.125 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.124 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.123 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.121 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.120 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.119 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.118 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.117 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.116 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.115 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.113 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.112 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.111 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.110 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.109 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.108 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.106 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.105 app/assets/javascripts/renalware/modality_codes.js