details:   https://code.openbravo.com/erp/devel/pi/rev/a48a8ccbc362
changeset: 22659:a48a8ccbc362
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Mon Mar 10 10:51:16 2014 +0100
summary:   Fixes issue 25937: Right clicking on a tree record does not trigger 
any action

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-grid.js
 |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 396b7943dbbe -r a48a8ccbc362 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-grid.js
     Mon Mar 10 14:45:53 2014 +0530
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-grid.js
     Mon Mar 10 10:51:16 2014 +0100
@@ -131,5 +131,10 @@
   handleFilterEditorSubmit: function (criteria, context, callback) {
     this.setOpenState('[]');
     this.Super('handleFilterEditorSubmit', arguments);
+  },
+
+  // No actions should be triggered when clicking a record with the right 
button
+  cellContextClick: function (record, rowNum, colNum) {
+    return false;
   }
 });
\ No newline at end of file

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to