details: /erp/devel/pi/rev/ea2c952a026e
changeset: 10795:ea2c952a026e
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Fri Feb 18 16:28:40 2011 +0100
summary: Invoke callback function in setContextInfo even FIC is not called
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
| 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 389366b95f4f -r ea2c952a026e
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
Fri Feb 18 15:26:10 2011 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
Fri Feb 18 16:28:40 2011 +0100
@@ -1566,6 +1566,9 @@
setContextInfo: function(sessionProperties, callbackFunction){
// no need to set the context in this case
if (this.isEditingGrid || this.isShowingForm) {
+ if (callbackFunction) {
+ callbackFunction();
+ }
return;
}
if (!sessionProperties) {
------------------------------------------------------------------------------
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