Skip to content
Snippets Groups Projects
Commit 28671109 authored by buczekp's avatar buczekp
Browse files

[LMS-1821] fixed opening entity views in the background using links in queries

SVN: 18209
parent 5749091a
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ public class ReportGrid extends AbstractBrowserGrid<TableModelRow, BaseEntityMod
public String tryGetLink(TableModelRow entity)
{
return null;
return null;
}
// GWT only
......@@ -248,7 +248,8 @@ public class ReportGrid extends AbstractBrowserGrid<TableModelRow, BaseEntityMod
{
ISerializableComparable cellValue =
rowItem.getValues().get(colIndex);
showEntityViewer(entityKind, cellValue.toString());
showEntityViewer(entityKind, cellValue.toString(),
keyPressed);
}
});
}
......@@ -257,9 +258,9 @@ public class ReportGrid extends AbstractBrowserGrid<TableModelRow, BaseEntityMod
return definitions;
}
private void showEntityViewer(EntityKind entityKind, String permId)
private void showEntityViewer(EntityKind entityKind, String permId, boolean keyPressed)
{
OpenEntityDetailsTabHelper.open(viewContext, entityKind, permId, false);
OpenEntityDetailsTabHelper.open(viewContext, entityKind, permId, keyPressed);
}
private List<ReportColumnUI> createColDefinitions()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment