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