details: /erp/devel/pi/rev/06e101235185
changeset: 12744:06e101235185
user: Martin Taal <martin.taal <at> openbravo.com>
date: Tue Jun 07 15:39:22 2011 +0200
summary: Fixes issue 17366: After canceling a new grid edit action the child
view shows the wrong message
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-statusbar.js
| 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 9ef624bb3853 -r 06e101235185
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-statusbar.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-statusbar.js
Tue Jun 07 15:37:54 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-statusbar.js
Tue Jun 07 15:39:22 2011 +0200
@@ -89,6 +89,9 @@
}
this.view.switchFormGridVisibility();
this.view.messageBar.hide();
+ if (this.view.viewForm.isNew) {
+ this.view.refreshChildViews();
+ }
} else if (this.buttonType === 'maximizeRestore') {
theButtonBar = this.view.statusBar.buttonBar;
if (theButtonBar.members) {
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits