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

[LMS-2083] hide archiving menu in simple view mode

SVN: 20182
parent 53056895
No related branches found
No related tags found
No related merge requests found
...@@ -173,7 +173,8 @@ public abstract class AbstractExternalDataGrid ...@@ -173,7 +173,8 @@ public abstract class AbstractExternalDataGrid
uploadButton.disable(); uploadButton.disable();
} }
addButton(uploadButton); addButton(uploadButton);
if (viewContext.getModel().getApplicationInfo().isArchivingConfigured()) if (viewContext.getModel().getApplicationInfo().isArchivingConfigured()
&& viewContext.isSimpleMode() == false)
{ {
addButton(createArchivingMenu()); addButton(createArchivingMenu());
} }
...@@ -299,7 +300,7 @@ public abstract class AbstractExternalDataGrid ...@@ -299,7 +300,7 @@ public abstract class AbstractExternalDataGrid
} }
} }
protected final IDelegatedActionWithResult<SelectedAndDisplayedItems> getSelectedAndDisplayedItemsAction() public final IDelegatedActionWithResult<SelectedAndDisplayedItems> getSelectedAndDisplayedItemsAction()
{ {
return new IDelegatedActionWithResult<SelectedAndDisplayedItems>() return new IDelegatedActionWithResult<SelectedAndDisplayedItems>()
{ {
......
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