From bf08f8cc8674512e0b937c33c79c944a9ecc8ce1 Mon Sep 17 00:00:00 2001 From: fedelcar Date: Thu, 13 Aug 2015 13:48:34 -0300 Subject: [PATCH 1/2] Corrected README.md --- README.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rdoc b/README.rdoc index 7cda2254..5370ac6f 100644 --- a/README.rdoc +++ b/README.rdoc @@ -115,7 +115,7 @@ will fit nicely. Generally it is advised to modify WiceGrid css to match the app == Basics -The simplest example of a WiceGrid for one simple DB table called ApplicationAccount is the following: +The simplest example of a WiceGrid for one simple DB table called Task is the following: Controller: From d406a1c2ba0da3e567693504d3614a4a90f54333 Mon Sep 17 00:00:00 2001 From: Juraj Chlebec Date: Wed, 26 Aug 2015 11:31:14 +0200 Subject: [PATCH 2/2] Add initWiceGrid function to global window object. I use gem wiselinks and i need reinitialize wicegrid after AJAX request. --- vendor/assets/javascripts/wice_grid_init.js.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/assets/javascripts/wice_grid_init.js.coffee b/vendor/assets/javascripts/wice_grid_init.js.coffee index bb0b4c94..0c45a3a1 100644 --- a/vendor/assets/javascripts/wice_grid_init.js.coffee +++ b/vendor/assets/javascripts/wice_grid_init.js.coffee @@ -331,3 +331,4 @@ setupExternalSubmitReset = -> false window['getGridProcessorForElement'] = getGridProcessorForElement +window['initWiceGrid'] = initWiceGrid