diff --git a/calendar/js/app.js b/calendar/js/app.js index f6526c07ce..1ace7a7802 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -3487,6 +3487,10 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend( { this.state.keywords = nm.activeFilters.search; } + // Bind to keep search up to date + jQuery(nm.getWidgetById('search').getDOMNode()).on('change', function() { + app.calendar.state.search = jQuery('input',this).val(); + }); nm.set_startdate = jQuery.proxy(function(date) { this.state.first = this.date.toString(new Date(date)); },this);