Commit d5af64eb authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic

Bug 1759698: Bootstrap datepicker has it's own on change event

So we need to use that one instead of trying to capture the on change
event on the underlying input field

behatnotneeded

Change-Id: I78196e5bafb322d304fceb69740a3ba9c8568fd6
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 24b57c01)
parent e0559012
......@@ -198,7 +198,7 @@ var UserSearch = (function($) {
pager.sendQuery();
return false;
});
$('#loggedinform_loggedindate').change(function() {
input_loggedinform_loggedindate.on("dp.change", function(e) {
// Set handler directly so that calendar works
pager.params.offset = 0;
pager.params.loggedindate = $(this).val();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment