details: https://code.openbravo.com/erp/devel/pi/rev/e2a425c9139b
changeset: 18563:e2a425c9139b
user: Augusto Mauch <augusto.mauch <at> openbravo.com>
date: Mon Nov 19 16:47:32 2012 +0100
summary: Fixes bug 21967: Time fields value not changed when updated from the
child view
The conversion from UTC to local time was not being done when a child view was
updated and its parent view refreshed
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
| 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r e15b8716607d -r e2a425c9139b
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Mon Nov 19 16:18:00 2012 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Mon Nov 19 16:47:32 2012 +0100
@@ -1540,6 +1540,7 @@
}
if (me.viewGrid.data) {
var recordIndex =
me.viewGrid.getRecordIndex(me.viewGrid.getSelectedRecord());
+ data = OB.Utilities.Date.convertUTCTimeToLocalTime(data,
me.viewGrid.completeFields);
me.viewGrid.data.updateCacheData(data, req);
me.viewGrid.selectRecord(me.viewGrid.getRecord(recordIndex));
me.viewGrid.refreshRow(recordIndex);
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits