Commit 88ff373b authored by anne.matthes's avatar anne.matthes
Browse files

Fixup for OXUIB-661: popup / popout mail view nearly impossible from list-view

(cherry picked from commit 82caff00)
parent 613942c0
Pipeline #142618 failed with stages
in 29 minutes and 27 seconds
......@@ -1601,7 +1601,7 @@ define('io.ox/mail/main', [
// they already see emails in full screen
if (_.device('smartphone')) return;
app.listView.on('selection:doubleclick', function (list) {
if (app.listView.props && app.listView.props.get('layout') === 'list') return;
if (app.props && app.props.get('layout') === 'list') return;
if (app.isThreaded()) list = _(api.threads.get(list[0])).pluck('cid');
var cid = list[0],
obj = _.cid(cid),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment