Fixed issue 26703:Clear filters does not the clickable checkboxes
authorGuillermo Gil <guillermo.gil@openbravo.com>
Fri, 30 May 2014 11:21:25 +0200
changeset 23520 36f45babccfc
parent 23519 3eac84b629e7
child 23521 4070edaaab75
Fixed issue 26703:Clear filters does not the clickable checkboxes

If there is no value selected, deselect all
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list-filter.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list-filter.js	Wed May 28 13:23:22 2014 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list-filter.js	Fri May 30 11:21:25 2014 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2011-2013 Openbravo SLU
+ * All portions are Copyright (C) 2011-2014 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -59,6 +59,9 @@
           value[i] = value[i].substring(2, value[i].length);
         }
       }
+    } else {
+      // If no value is selected, deselect all
+      this.pickList.selection.deselectAll();
     }
     this.selectItemFromValue(value);
   },