details: https://code.openbravo.com/erp/devel/main/rev/a975007ee083 changeset: 17884:a975007ee083 user: Augusto Mauch <augusto.mauch <at> openbravo.com> date: Fri Sep 21 12:33:54 2012 +0200 summary: Fixes issue 21709: Tab title is updated when a record is saved in the grid view
The fix of the issue 21352 caused the updateTabTitle function to be executed when the grid was still in edit mode, so the '*' in the tab title remained. Removing the code that caused this issue was not possible, because then the original issue was reproducible. Instead, an extra call to updateTabTitle is done when the records exists the edit mode. details: https://code.openbravo.com/erp/devel/main/rev/4bef9cced5d2 changeset: 17885:4bef9cced5d2 user: Sandra Huguet <sandra.huguet <at> openbravo.com> date: Fri Sep 21 14:36:30 2012 +0200 summary: Fixed bug 21710 AcctServerbackground leave reconciliations in not balance, when they are balanced diffstat: modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js | 4 ++++ src/org/openbravo/erpCommon/ad_forms/AcctServer.java | 3 ++- 2 files changed, 6 insertions(+), 1 deletions(-) diffs (27 lines): diff -r 957e0383b0af -r 4bef9cced5d2 modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js --- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js Tue Sep 18 18:35:14 2012 +0200 +++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js Fri Sep 21 14:36:30 2012 +0200 @@ -2346,6 +2346,10 @@ isc.Log.logDebug('hideInlineEditor has NO record and editColumnLayout', 'OB'); } this.view.isEditingGrid = false; + // Update the tab title after the record has been saved or canceled + // to get rid of the '*' in the tab title + // See https://issues.openbravo.com/view.php?id=21709 + this.view.updateTabTitle(); } // always hide the clickmask, as it needs to be re-applied diff -r 957e0383b0af -r 4bef9cced5d2 src/org/openbravo/erpCommon/ad_forms/AcctServer.java --- a/src/org/openbravo/erpCommon/ad_forms/AcctServer.java Tue Sep 18 18:35:14 2012 +0200 +++ b/src/org/openbravo/erpCommon/ad_forms/AcctServer.java Fri Sep 21 14:36:30 2012 +0200 @@ -375,7 +375,8 @@ con = connectionProvider.getTransactionConnection(); strIDs += data[i].getField("ID") + ", "; this.setMessageResult(null); - if (!post(data[i].getField("ID"), false, vars, connectionProvider, con)) { + if (!get(AD_Table_ID, AD_Client_ID, AD_Org_ID, connectionProvider).post( + data[i].getField("ID"), false, vars, connectionProvider, con)) { connectionProvider.releaseRollbackConnection(con); return; } else { ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Openbravo-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-commits
