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.1.1 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.1.0 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.167 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.166 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.165 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.164 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.163 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.162 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.161 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.160 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.159 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.158 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.157 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.156 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.155 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.153 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.152 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.151 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.149 app/assets/javascripts/renalware/components/modality_codes.js
renalware-core-2.0.148 app/assets/javascripts/renalware/components/modality_codes.js