details: https://code.openbravo.com/erp/devel/pi/rev/e334e962ffca
changeset: 23018:e334e962ffca
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Mon May 12 20:46:03 2014 +0200
summary: Modified Smartclient 10.0d 2014-02-13 SNAPSHOT to fix issue 26515
diffstat:
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js
| 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 592598efcef0 -r e334e962ffca
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js
---
a/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js
Mon May 12 18:29:49 2014 +0200
+++
b/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js
Mon May 12 20:46:03 2014 +0200
@@ -6402,7 +6402,7 @@
var _17=this.getID()+".$337(dsResponse,
dsRequest)",_18={operationId:(_4==null?this.addOperation:this.updateOperation)||this.saveOperation,application:this.application,willHandleError:true,showPrompt:this.shouldWaitForSave(),oldValues:_4,$52s:this.getRecord(_1,_2),clientContext:{saveCallback:_7,newValues:_3,editInfo:_8},componentId:this.ID};var
_19=this.getAllFields();if(_19!=null){for(var
i=0;i<_19.length;i++){if(_19[i].includeFrom!=null&&this.getDataSource().getField(_19[i].name)==null)
{if(_18.additionalOutputs==null)_18.additionalOutputs="";else
_18.additionalOutputs+=",";_18.additionalOutputs+=[_19[i].name,_19[i].includeFrom].join("!")}}}
if(this.saveRequestProperties){isc.addProperties(_18,this.saveRequestProperties)}
-this.$338(_3,_4);if(this.$31o==null)this.$31o={};this.$31o[_8.editValuesID]=true;var
_10=isc.DS.get(this.dataSource);if(_4==null){var
_20=isc.addProperties({},_4,_3);_10.addData(_20,_17,_18)}else{var
_21=isc.DS.get(this.dataSource).filterPrimaryKeyFields(_4),_22=isc.addProperties({},_21,_3);_10.updateData(_22,_17,_18)}},isc.A.$336=function
isc_ListGrid__saveLocally(_1,_2){var
_3=_1.rowNum,_4=_1.colNum,_5=_1.oldValues,_6=_1.values;var
_7=this.getCellRecord(_3,_4),_8=(_7==null);if(_8){var
_9=this.getOriginalData();var
_10=this.getEditSession(_3);_10.$33b=this.getPrimaryKeys(_6);delete
_10.$33i;if(isc.ResultSet&&isc.isA.ResultSet(_9)){if(_9.allRows!=null){_9.allRows.add(_9);_9.filterLocalData()}else{this.logWarn("Unable
to add data to resultSet - allRows is not
set")}}else{_9.add(_6);_9.dataChanged()}}else{var _11,_12;var _13={};for(var
i=0;i<this.completeFields.length;i++){var
_15=this.completeFields[i],_16=this.getEditorName(_3,_15,true);_11=isc.Canvas.$70o(null,_15,_6,this,true);if(
_11!==_12){var
_17=this.fields.indexOf(_15);if(_17!=-1){this.setRawCellValue(_7,_3,_17,_11)}else{isc.Canvas.$70n(null,_15,_11,_7,this,true)}}
+this.$338(_3,_4);if(this.$31o==null)this.$31o={};this.$31o[_8.editValuesID]=true;var
_10=isc.DS.get(this.dataSource);if(_4==null){var
_20=isc.addProperties({},_4,_3);_10.addData(_20,_17,_18)}else{var
_21=isc.DS.get(this.dataSource).filterPrimaryKeyFields(_4),_22=isc.addProperties({},_21,_3);_10.updateData(_22,_17,_18)}},isc.A.$336=function
isc_ListGrid__saveLocally(_1,_2){var
_3=_1.rowNum,_4=_1.colNum,_5=_1.oldValues,_6=_1.values;var
_7=this.getCellRecord(_3,_4),_8=(_7==null);if(_8){var
_9=this.getOriginalData();var
_10=this.getEditSession(_3);_10.$33b=this.getPrimaryKeys(_6);delete
_10.$33i;if(isc.ResultSet&&isc.isA.ResultSet(_9)){if(_9.allRows!=null){_9.allRows.add(isc.addProperties({},_6));_9.filterLocalData()}else{this.logWarn("Unable
to add data to resultSet - allRows is not
set")}}else{_9.add(_6);_9.dataChanged()}}else{var _11,_12;var _13={};for(var
i=0;i<this.completeFields.length;i++){var
_15=this.completeFields[i],_16=this.getEditorName(_3,_15,true);_11=isc.Canvas.$70o(null
,_15,_6,this,true);if(_11!==_12){var
_17=this.fields.indexOf(_15);if(_17!=-1){this.setRawCellValue(_7,_3,_17,_11)}else{isc.Canvas.$70n(null,_15,_11,_7,this,true)}}
var _18=_16;if(_16.indexOf("/")>=0){_18=isc.DynamicForm.$840(_16,this)}
_13[_18]=true}
this.combineValuesRecursively(_7,_6,_13)}
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits