Change-Id: I5fdcc8ba2a3d929438234d6b24b0de9469baffc5
Reviewed-on: http://gerrit.tine20.com/customers/5284
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
Tested-by: Cornelius Weiss <c.weiss@metaways.de>
*/
onContextMenu: function(node, event) {
this.ctxNode = node;
-
+
+ event.stopEvent();
+
var folder = this.app.getFolderStore().getById(node.id),
account = folder ? this.accountStore.getById(folder.get('account_id')) :
this.accountStore.getById(node.id);
});
this.on('contextmenu', function(node, event){
+ event.stopEvent();
this.ctxNode = node;
if (node.id != 'phone-root') {
contextMenu.showAt(event.getXY());
});
child.on('contextmenu', function(node, event) {
+ event.stopEvent();
if(node.leaf) {
this.ctxNode = node;
this['contextMenu' + modelName].showAt(event.getXY());
},
onContextMenu: function(node, e) {
+ e.stopEvent();
if (this.getRootNode().childNodes.length > 2 && node.id != 'addFilterPanel') {
this.contextMenu.contextNode = node;
this.contextMenu.showAt(e.getXY());
if (! node.attributes.isPersistentFilter) {
return;
}
-
+
+ e.stopEvent();
Tine.log.debug(node);
var record = this.store.getById(node.id);