details:   /erp/devel/pi/rev/bfb7c123d8cc
changeset: 12173:bfb7c123d8cc
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Mon May 16 11:09:57 2011 +0200
summary:   related to issue 17086: Fixed refresh of header

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-action-button.js
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 843513568c69 -r bfb7c123d8cc 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-action-button.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-action-button.js
      Mon May 16 10:55:02 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-action-button.js
      Mon May 16 11:09:57 2011 +0200
@@ -101,7 +101,7 @@
           currentView.refresh();
         };
     
-    if (currentView.getSelectedRecord()) {
+    if (currentView.viewGrid.getSelectedRecord()) {
       // There is a record selected, refresh it and its parent
       currentView.refreshCurrentRecord(afterRefresh);
     } else {

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to