From 59deb5f7c873992c709ea6063a8c1a1b03d2f4ca Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 13 Aug 2015 17:13:18 +0200 Subject: [PATCH] (ui) add refresh method to jquery.bootgrid.js, temporary added this into the compiled js file should extension should probably move to somewhere else. --- src/opnsense/www/js/jquery.bootgrid.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/opnsense/www/js/jquery.bootgrid.js b/src/opnsense/www/js/jquery.bootgrid.js index 9ca95b7ac..b1462e8cc 100644 --- a/src/opnsense/www/js/jquery.bootgrid.js +++ b/src/opnsense/www/js/jquery.bootgrid.js @@ -1466,6 +1466,19 @@ return this; }; + /** + * refresh grid (OPNsense addition) + * + * @method reload + * @chainable + **/ + Grid.prototype.refresh = function() + { + loadData.call(this); + + return this; + }; + /** * Removes rows by ids. Removes selected rows if no ids are provided. *