details:   https://code.openbravo.com/erp/devel/pi/rev/74ad554804c2
changeset: 21404:74ad554804c2
user:      Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date:      Wed Oct 30 14:50:14 2013 +0530
summary:   Fixes Issue 24783 : Time fields are not refreshed when setting their 
values trough an event handler

The response data value of the field is set to the field value if not equal.

diffstat:

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

diffs (12 lines):

diff -r 43dc8b97f95a -r 74ad554804c2 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-time.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-time.js
        Tue Oct 29 15:12:45 2013 +0530
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-time.js
        Wed Oct 30 14:50:14 2013 +0530
@@ -149,7 +149,7 @@
     return this.Super('moved', arguments);
   },
   formSaved: function (request, response, data) {
-    if (this.getValue() && data[this.name] && this.getValue() !== 
data[this.name]) {
+    if (this.getValue() !== data[this.name]) {
       this.setValue(data[this.name]);
     }
   }

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to