webstaff: Grid supports automatic refresh with query change
authorBill Erickson <berickxx@gmail.com>
Wed, 11 Feb 2015 15:43:43 +0000 (10:43 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 17 Aug 2015 22:56:36 +0000 (22:56 +0000)
commit3e07d59d143b956264c37b7293289431224c9f6c
tree14fd04f25b78322edf57da08639eb54a9f166901
parent828acd604f0927daa9f75b5f261e7a52a97205ab
webstaff: Grid supports automatic refresh with query change

Adds a new gridControls function watchQuery(), which returns the
contents of the grid query.  When the contents change, the grid
automatically redraws.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/web/js/ui/default/staff/services/grid.js