hi,
the calendar popup windows in the “Report Options” section remains open upon picking a date, forcing users to click elsewhere outside the popup window to close it. The patch below fixes that behaviour.
Patch for v. 1.1.1:
--- ~current_InvoicePlane/application/modules/layout/views/layout.php
+++ ~new_InvoicePlane/application/modules/layout/views/layout.php
@@ -33,7 +33,7 @@
$('.nav-tabs').tab();
$('.tip').tooltip();
- $('.datepicker').datepicker({ format: '<?php echo date_format_datepicker(); ?>'});
+ $('.datepicker').datepicker({ autoclose: true, format: '<?php echo date_format_datepicker(); ?>'});
$('.create-invoice').click(function() {
$('#modal-placeholder').load("<?php echo site_url('invoices/ajax/modal_create_invoice'); ?>");
BTW, all other definitions of datepicker in the code (i.e. all modal invoice and quote modal views) include the “autoclose:true” option.
Miquel