From: Jonathan Druart Date: Tue, 5 Jan 2016 15:54:59 +0000 (+0000) Subject: Bug 15412: Enable dropdowns date selector when suspending holds X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=01d48a78258f98f693a8f48d7294a6ae880d5fc4;p=koha.git Bug 15412: Enable dropdowns date selector when suspending holds It seems to be the way to fix that https://stackoverflow.com/questions/13649459/twitter-bootstrap-multiple-modal-error Test plan: 1 - Place a hold through the opac 2 - View your account->Holds 3 - Click suspend hold 4 - You should be able to select a date using the arrows and dropdowns Followed test plan, works as expected. Signed-off-by: Marc VĂ©ron Signed-off-by: Katrin Fischer Signed-off-by: Brendan A Gallagher --- diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc index 1d350ea77d..30ba39646a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -96,6 +96,9 @@ $.widget.bridge('uitooltip', $.ui.tooltip); "[% interface %]/[% theme %]/lib/enquire.min.js", "[% interface %]/[% theme %]/js/script.js" ]); + + // Fix for datepicker in a modal + $.fn.modal.Constructor.prototype.enforceFocus = function () {}; [% IF ( OPACAmazonCoverImages || SyndeticsCoverImages ) %]