webstaff: Grid supports automatic refresh with query change
authorBill Erickson <berickxx@gmail.com>
Wed, 11 Feb 2015 15:43:43 +0000 (10:43 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 19 Aug 2015 17:39:11 +0000 (13:39 -0400)
commit370a7d12a366ff26c4f354f6da96a86ace6e7252
tree91eee908e075d66593b08ec2ef83485fc79750e4
parentf9c7177be53c135e0db315fb8f376f53b654a0f2
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>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/web/js/ui/default/staff/services/grid.js