details:   https://code.openbravo.com/erp/devel/pi/rev/f2ec6da4445f
changeset: 18175:f2ec6da4445f
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Tue Oct 09 13:41:46 2012 +0200
summary:   Fixes issue 21697: Reapplies code that had been backed out

On October 1st the two changesets that fixed the issue were backed out, but 
then only the one related to the date column filter was reapplied, and not the 
one related to the numeric fields.

diffstat:

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

diffs (16 lines):

diff -r 52411effe111 -r f2ec6da4445f 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
      Tue Oct 09 13:29:28 2012 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
      Tue Oct 09 13:41:46 2012 +0200
@@ -577,6 +577,12 @@
     return ret;
   },
 
+  // If the filter has not been applied yet, apply it when it loses the focus
+  blur: function () {
+    this.form.grid.performAction();
+    return this.Super('blur', arguments);
+  },
+
   convertToStringValue: function (value) {
     var type = this.typeInstance;
     if (!isc.isA.String(value)) {

------------------------------------------------------------------------------
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