Fixed issue 17819. Notes timestamp will be calculated in the server to prevent clock synchronization problems
authorAntonio Moreno <antonio.moreno@openbravo.com>
Fri, 29 Jul 2011 11:27:42 +0200
changeset 13346 11de85d32280
parent 13345 c4af7f9e6aaa
child 13347 2d138204577c
Fixed issue 17819. Notes timestamp will be calculated in the server to prevent clock synchronization problems
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-notes.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-notes.js	Fri Jul 29 11:26:09 2011 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-notes.js	Fri Jul 29 11:27:42 2011 +0200
@@ -274,7 +274,7 @@
         }
 
         value =  value + ' <span class="OBNoteListGridAuthor">' +
-                OB.Utilities.getTimePassed(record.creationDate) +
+                OB.Utilities.getTimePassedInterval(record.recordTime-record.creationDate.getTime()) +
             ' ' + OB.I18N.getLabel('OBUIAPP_by') + ' ' +
             record['createdBy._identifier']+'</span>';