details: https://code.openbravo.com/erp/devel/pi/rev/d6507984d651 changeset: 33425:d6507984d651 user: Carlos Aristu <carlos.aristu <at> openbravo.com> date: Tue Feb 13 08:47:07 2018 +0100 summary: related to issue 37872: Add missing check for filter edit form existence
Added also this missing check in updateSelectedCountDisplay function. diffstat: modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r af39974bd6a5 -r d6507984d651 modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js --- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js Tue Feb 13 08:43:38 2018 +0100 +++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js Tue Feb 13 08:47:07 2018 +0100 @@ -2677,7 +2677,7 @@ } } } - if (this.filterEditor) { + if (this.filterEditor && this.filterEditor.getEditForm()) { this.filterEditor.getEditForm().setValue(this.getCheckboxField().name, newValue); this.filterEditor.getEditForm().getField(this.getCheckboxField().name).defaultValue = newValue; } ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits