details: https://code.openbravo.com/erp/devel/pi/rev/dfda65fa925f
changeset: 23392:dfda65fa925f
user: Guillermo Gil <guillermo.gil <at> openbravo.com>
date: Wed May 28 08:51:05 2014 +0200
summary: Fixed issue 26702:Create a record while a filter is applied the
focus get lost
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
| 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 159979b5db65 -r dfda65fa925f
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 May 27 21:08:30 2014 +0000
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
Wed May 28 08:51:05 2014 +0200
@@ -2872,7 +2872,7 @@
this.view.standardWindow.autoSaveDone(this.view, true);
// if nothing else got selected, select ourselves then
- if (!this.getSelectedRecord()) {
+ if (!this.getSelectedRecord() || (this.getSelectedRecord().id ===
record._originalId)) {
this.selectRecord(record);
keepSelection = true;
this.view.refreshChildViews(keepSelection);
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits