details: /erp/devel/pi/rev/8d4823fa8c29
changeset: 11591:8d4823fa8c29
user: Martin Taal <martin.taal <at> openbravo.com>
date: Mon Apr 18 19:23:04 2011 +0200
summary: Fixes issue 16840: Form view: When selecting a date in the calendar,
save button is not visible so you cannot save the change
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js
| 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diffs (17 lines):
diff -r 7646196524e9 -r 8d4823fa8c29
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js
Mon Apr 18 16:55:33 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js
Mon Apr 18 19:23:04 2011 +0200
@@ -898,13 +898,6 @@
change: function(form, item, value, oldValue){ /* transformInput */
var isADate = value !== null &&
Object.prototype.toString.call(value) === '[object Date]';
- // prevent a change if nothing changed
- if (value === oldValue) {
- return false;
- }
- if (isADate && value && oldValue && oldValue.getTime && value.getTime()
=== oldValue.getTime()) {
- return false;
- }
if (isADate) {
return;
}
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits