details: /erp/devel/pi/rev/4bd125ca1dda
changeset: 12083:4bd125ca1dda
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Tue May 10 17:41:50 2011 +0200
summary: fixed bug 17087: Error when creating a note
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
| 12 ++-------
1 files changed, 3 insertions(+), 9 deletions(-)
diffs (29 lines):
diff -r 3f4efabf3019 -r 4bd125ca1dda
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
Tue May 10 17:08:16 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
Tue May 10 17:41:50 2011 +0200
@@ -122,14 +122,8 @@
'client' :
OB.User.clientId,
'organization' :
OB.User.organizationId,
'table' :
this.getForm().view.standardProperties.inpTableId,
- 'record' :
this.getForm().view.viewGrid
-
.getSelectedRecord().id,
- 'note' : note,
- 'isactive' : 'Y',
- 'created' : currentTime,
- 'createdBy' :
OB.User.id,
- 'updated' : currentTime,
- 'updatedBy' : OB.User.id
+ 'record' :
this.getForm().view.viewGrid.getSelectedRecord().id,
+ 'note' : note
});
// clean text area
@@ -280,7 +274,7 @@
}
value = value
+ ' <span class="OBNoteListGridAuthor">' +
-
OB.Utilities.getTimePassed(record.created) +
+
OB.Utilities.getTimePassed(record.creationDate) +
' ' + OB.I18N.getLabel('OBUIAPP_by') + ' ' +
record['createdBy._identifier']+'</span>';
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits