Commit 868373a124fe3dc0df60d49840dc5ccaadeb9c3e

Authored by Myriam Bouchemit
2 parents 7348b580 4e3f6193

Merge branch 'fix-rightclick' into 'master'

Fix rightclick

See merge request !16
Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
js/app/views/ExplorerUI.js
... ... @@ -506,6 +506,9 @@ Ext.define('amdaUI.ExplorerUI', {
506 506 },
507 507  
508 508 itemcontextmenu: function(view, rec, item, index, e){
  509 + // Add record to selection model
  510 + view.ownerCt.getSelectionModel().select(rec);
  511 +
509 512 // block other events
510 513 e.stopEvent();
511 514  
... ...