details: /erp/devel/pi/rev/23788ca79cd7
changeset: 10227:23788ca79cd7
user: Martin Taal <martin.taal <at> openbravo.com>
date: Sat Jan 29 12:22:39 2011 +0100
summary: removed unnecessary code
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
| 38 ----------
1 files changed, 0 insertions(+), 38 deletions(-)
diffs (49 lines):
diff -r f2c4dae0dbff -r 23788ca79cd7
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
Sat Jan 29 12:18:26 2011 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
Sat Jan 29 12:22:39 2011 +0100
@@ -252,45 +252,7 @@
}
}
},
-
- setDataSource: function(ds){
- // Wrap DataSource with OBDataSource:
- // - to set/reset the progress icons
- // - to handle error cases in the response
- // - to add info to the request
- // wrapping is done by creating a new datasource class
- // which is instantiated
- var obDsClassname = 'OBDataSource' + this.tabId;
- isc.defineClass(obDsClassname, ds.getClass());
- var modifiedDs = isc.addProperties({}, ds, {
-
- });
-
- var myDs = isc[obDsClassname].create(modifiedDs);
-
- this.dataSource = myDs;
-
- if (this.viewGrid) {
- if (this.targetRecordId) {
- this.viewGrid.targetRecordId = this.targetRecordId;
- }
- this.viewGrid.setDataSource(this.dataSource,
this.viewGrid.completeFields || this.viewGrid.fields);
-
- // directTabInfo is set when we are in direct link mode, i.e. directly
opening
- // a specific tab with a record, the direct link logic will already take
care
- // of fetching data
- if (this.isRootView && !this.standardWindow.directTabInfo) {
- this.viewGrid.fetchData();
- this.refreshContents = false;
- }
- }
- if (this.viewForm) {
- // note this call messes up the focus handling also
- this.viewForm.setDataSource(this.dataSource, this.viewForm.fields);
- }
- },
-
// handles different ways by which an error can be passed from the
// system, translates this to an object with a type, title and message
setErrorMessageFromResponse: function(resp, data, req){
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits