related to issue 31705: do not set singleDateMode after clearing filter values
authorCarlos Aristu <carlos.aristu@openbravo.com>
Wed, 16 Dec 2015 09:05:20 +0100
changeset 28136 17016914f029
parent 28135 bac3b234b912
child 28146 ba5c3ba713b0
related to issue 31705: do not set singleDateMode after clearing filter values

The singleDateMode should not be set to true when clearing the filter values because this is preventing the date range dialog to appear under some circumnstances.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js	Tue Dec 15 22:47:22 2015 +0000
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js	Wed Dec 16 09:05:20 2015 +0100
@@ -457,7 +457,6 @@
   clearFilterValues: function () {
     this.singleDateValue = null;
     this.singleDateDisplayValue = '';
-    this.singleDateMode = true;
     this.rangeItemValue = null;
     this.rangeItem.setValue(null);
     this.setElementValue('', '');