details: /erp/devel/pi/rev/e2b1940ef8da
changeset: 11517:e2b1940ef8da
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Wed Apr 06 11:14:54 2011 +0200
summary: related to bug 16662: do not fetch notes when section is not drawn
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
| 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r aea80c574683 -r e2b1940ef8da
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
Wed Apr 06 10:07:29 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
Wed Apr 06 11:14:54 2011 +0200
@@ -219,9 +219,10 @@
fetchData :
function(criteria, callback,
requestProperties) {
- return
this.Super('fetchData', [
-
this.convertCriteria(criteria),
+ if
(this.layout.isDrawn()) {
+ return
this.Super('fetchData', [ this.convertCriteria(criteria),
callback, requestProperties ]);
+ }
},
filterData :
function(criteria, callback,
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits