details: /erp/devel/pi/rev/3c33e772b382
changeset: 10742:3c33e772b382
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Thu Feb 17 16:16:04 2011 +0100
summary: Improve performance of the FIC call done for displaylogic of process
buttons
diffstat:
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
| 2 +-
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js
| 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 496b074a6d62 -r 3c33e772b382
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
Thu Feb 17 15:34:25 2011 +0100
+++
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
Thu Feb 17 16:16:04 2011 +0100
@@ -247,7 +247,7 @@
finalObject.put("auxiliaryInputValues", jsonAuxiliaryInputValues);
- if (mode.equals("NEW") || mode.equals("EDIT")) {
+ if (mode.equals("NEW") || mode.equals("EDIT") ||
mode.equals("SETSESSION")) {
// We also include information related to validation dependencies
// and we add the columns which have a callout
diff -r 496b074a6d62 -r 3c33e772b382
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js
Thu Feb 17 15:34:25 2011 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js
Thu Feb 17 16:16:04 2011 +0100
@@ -708,7 +708,7 @@
var formView = this.view.viewForm, me = this;
// Call FIC to obtain possible session attributes and set them in form
requestParams = {
- MODE: 'EDIT',
+ MODE: 'SETSESSION',
PARENT_ID: this.view.getParentId(),
TAB_ID: this.view.tabId,
ROW_ID: currentValues.id
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits