|
Lines 1007-1013
Link Here
|
| 1007 |
}).on('hidden.bs.modal', function() { |
1007 |
}).on('hidden.bs.modal', function() { |
| 1008 |
$("#barcode").prop("disabled", false).focus(); |
1008 |
$("#barcode").prop("disabled", false).focus(); |
| 1009 |
}); |
1009 |
}); |
| 1010 |
$(".modal.noblock").modal({ backdrop: 'static'}).on('shown.bs.modal', function() { |
1010 |
$(".modal.noblock").on('show.bs.modal', function() { |
|
|
1011 |
/* If the modal doesn't block further action, the backdrop should be hidden. |
| 1012 |
In order for this to happen smoothly we add a class to the body tag which |
| 1013 |
targeted in the CSS */ |
| 1014 |
$("body").addClass("nobackdrop"); |
| 1015 |
}).modal() |
| 1016 |
.on('shown.bs.modal', function() { |
| 1011 |
$("#barcode").prop("disabled", false).focus(); |
1017 |
$("#barcode").prop("disabled", false).focus(); |
| 1012 |
}).on('hidden.bs.modal', function() { |
1018 |
}).on('hidden.bs.modal', function() { |
| 1013 |
$("#barcode").prop("disabled", false).focus(); |
1019 |
$("#barcode").prop("disabled", false).focus(); |
| 1014 |
- |
|
|