crud room, incident type, catalog, and sample-containers
This commit is contained in:
@@ -68,7 +68,7 @@ function restore_lab(concept_id){
|
||||
},
|
||||
success:function(res){
|
||||
handleMessage(res.success, res.message)
|
||||
setTimeout(function () {location.reload()}, messageDuration)
|
||||
if(res.success) {setTimeout(function () {location.reload()}, messageDuration)}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -79,7 +79,6 @@ function restore_lab(concept_id){
|
||||
$('#modal-concept').on('show.bs.modal', function (event) {
|
||||
var button = $(event.relatedTarget) // Button that triggered the modal
|
||||
var action = button.data('action') // Extract info from data-* attributes
|
||||
$('#shareable_lab_result').prop("checked", false)
|
||||
var modal = $(this);
|
||||
if(action === "new"){
|
||||
// Clear inputs
|
||||
|
||||
Reference in New Issue
Block a user