mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 20:04:30 +01:00
fix clicking on "No matches found" in mail shows last previewed mail
This commit is contained in:
parent
e3f550c3fc
commit
475219e23a
@ -1144,7 +1144,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
// don't go further if the preview is supposed to be disabled and we're not in mobile view
|
// don't go further if the preview is supposed to be disabled and we're not in mobile view
|
||||||
if (previewPane == 'hide' && !egwIsMobile()) return;
|
if (previewPane == 'hide' && !egwIsMobile()) return;
|
||||||
|
|
||||||
if(typeof selected != 'undefined' && selected.length == 1)
|
if(typeof selected != 'undefined' && selected.length == 1 && selected[0])
|
||||||
{
|
{
|
||||||
rowId = this.mail_fetchCurrentlyFocussed(selected);
|
rowId = this.mail_fetchCurrentlyFocussed(selected);
|
||||||
data = egw.dataGetUIDdata(rowId).data;
|
data = egw.dataGetUIDdata(rowId).data;
|
||||||
|
Loading…
Reference in New Issue
Block a user