details:   https://code.openbravo.com/erp/devel/pi/rev/f574046d4be7
changeset: 18159:f574046d4be7
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Mon Oct 08 16:31:43 2012 +0200
summary:   Fixes issue 21697: Fix of issue 21697 reapplied

The fix of the issue 21697 has been reapplied after the test it broke has been 
adapted.

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
 |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 7b49d037a0cf -r f574046d4be7 
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
       Mon Oct 08 15:52:10 2012 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
       Mon Oct 08 16:31:43 2012 +0200
@@ -322,6 +322,12 @@
       return;
     }
 
+    // Apply the empty filter if the date text has been deleted
+    // See issue https://issues.openbravo.com/view.php?id=21697
+    if (newValue === '') {
+      return true;
+    }
+
     if (newValue === oldValue) {
       return false;
     }

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to