Files: Init contextmenu on folders list in Files only
This commit is contained in:
parent
2b8eae4b3e
commit
d429e2dc49
1 changed files with 1 additions and 1 deletions
|
@ -2286,7 +2286,7 @@ function kolab_files_ui()
|
|||
rcube_webmail.long_subject_title_ex(this);
|
||||
});
|
||||
|
||||
if (rcmail.env.contextmenu)
|
||||
if (rcmail.task == 'files' && rcmail.env.contextmenu)
|
||||
list.on('contextmenu', function(e) {
|
||||
var elem = $(e.target).closest('li');
|
||||
id = rcmail.html_identifier_decode(elem.attr('id').replace(/^rcmli/, ''));
|
||||
|
|
Loading…
Add table
Reference in a new issue