details: /erp/devel/pi/rev/46fe7c601a53
changeset: 12048:46fe7c601a53
user: Martin Taal <martin.taal <at> openbravo.com>
date: Fri May 06 17:54:03 2011 +0200
summary: Related to issue 16671: Date can be modified in a processed Internal
Consuption
diffstat:
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
| 13 ++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r 69c4727f156f -r 46fe7c601a53
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
Fri May 06 17:30:32 2011 +0200
+++
b/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
Fri May 06 17:54:03 2011 +0200
@@ -264,6 +264,19 @@
});
+isc.DateItem.changeDefaults('textFieldDefaults', {
+ isDisabled: function() {
+ var disabled = this.Super('isDisabled', arguments);
+ if (disabled) {
+ return true;
+ }
+ if (this.parentItem.isDisabled()) {
+ return true;
+ }
+ return false;
+ }
+});
+
// 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;
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits