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.104 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.103 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.102 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.101 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.100 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.99 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.98 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.97 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.96 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.95 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.94 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.93 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.92 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.91 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.90 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.89 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.88 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.87 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.86 app/assets/javascripts/renalware/modality_codes.js
renalware-core-2.0.85 app/assets/javascripts/renalware/modality_codes.js