details: /erp/devel/pi/rev/764f71e47b7a
changeset: 12026:764f71e47b7a
user: Martin Taal <martin.taal <at> openbravo.com>
date: Fri May 06 12:16:31 2011 +0200
summary: Small changes for name changes of autochild in Smartclient
diffstat:
modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js
| 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r b6e41e27b0bb -r 764f71e47b7a
modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js
---
a/modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js
Fri May 06 12:15:37 2011 +0200
+++
b/modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js
Fri May 06 12:16:31 2011 +0200
@@ -247,9 +247,9 @@
sendEvents: false,
// the PortalColumn is an autochild of the PortalLayout with the
- // child name of 'column', the properties of the PortalColumn
+ // child name of 'portalColumn', the properties of the PortalColumn
// can be set like this using the AutoChild concept of SC
- columnProperties: {
+ portalColumnProperties: {
membersMargin: 12,
// is used to prevent dropping on the left or right
@@ -304,7 +304,7 @@
if (userHeight !== null) {
dynamicProperties.height = userHeight;
}
- var portalRow = this.createAutoChild('row', dynamicProperties);
+ var portalRow = this.createAutoChild('portalRow', dynamicProperties);
this.addMember(portalRow, position);
portalRow.addMember(portlet);
@@ -823,9 +823,8 @@
this.portalLayout.sendEvents = false;
this.isReloading = true;
- this.portalLayout.getMembers()[0].removeAllRows();
+ this.portalLayout.getMembers()[0].removeAllRows();
this.portalLayout.getMembers()[1].removeAllRows();
-
this.notifyEvent('RELOAD_WIDGETS');
}
});
------------------------------------------------------------------------------
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