details: /erp/devel/pi/rev/4f1bc846a860
changeset: 11258:4f1bc846a860
user: Martin Taal <martin.taal <at> openbravo.com>
date: Tue Mar 15 14:14:15 2011 +0100
summary: Fixes issue 15993: Reference creation issue
details: /erp/devel/pi/rev/bc0c26a55806
changeset: 11259:bc0c26a55806
user: Martin Taal <martin.taal <at> openbravo.com>
date: Tue Mar 15 14:21:13 2011 +0100
summary: Fixes issue 16296: I can enter big number in date ranges making the
filter to overflow
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
| 5 ++++-
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
| 3 +++
2 files changed, 7 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r a42d36120bbd -r bc0c26a55806
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
Tue Mar 15 13:14:51 2011 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
Tue Mar 15 14:21:13 2011 +0100
@@ -832,7 +832,10 @@
}
var i, length, flds, form = this, ficCallDone;
- var record = form.view.viewGrid.getSelectedRecord(), recordIndex =
form.view.viewGrid.getRecordIndex(record);
+ var record = form.view.viewGrid.getSelectedRecord(),
+ // note record does not have to be set in case new and no
+ // previously selected record
+ recordIndex = (record ? form.view.viewGrid.getRecordIndex(record) : -1);
form.isSaving = true;
diff -r a42d36120bbd -r bc0c26a55806
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
a/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
Tue Mar 15 13:14:51 2011 +0100
+++
b/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
Tue Mar 15 14:21:13 2011 +0100
@@ -154,6 +154,9 @@
// when a picklist has been detached from a formitem
isc.PickList.getPrototype().cachePickListResults = false;
+// allow max 10000 days/years/quarters in the past/future
+isc.RelativeDateItem.changeDefaults('quantityFieldDefaults', {max: 1000});
+
// uncomment this code and put a breakpoint to get a better control
// on from where async operations are started
//isc.Class._fireOnPause = isc.Class.fireOnPause;
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits