Skip to content
Snippets Groups Projects
Commit 1b3d0c14 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Remove analysis button in corpuslist for now

parent ea3416af
Branches
Tags
No related merge requests found
......@@ -18,8 +18,6 @@ class CorpusList extends RessourceList {
let actionButtonElement = event.target.closest('.action-button');
let action = (actionButtonElement === null) ? 'view' : actionButtonElement.dataset.action;
switch (action) {
case 'analyse':
window.location.href = this.corpora[corpusId].analysis_url;
case 'delete':
let deleteModalHTML = `<div class="modal">
<div class="modal-content">
......@@ -38,7 +36,6 @@ class CorpusList extends RessourceList {
deleteModal.open();
break;
case 'view':
// TODO: handle unprepared corpora
window.location.href = this.corpora[corpusId].url;
break;
default:
......@@ -92,7 +89,6 @@ CorpusList.options = {
<td><span class="badge new status" data-badge-caption=""></span></td>
<td class="right-align">
<a class="action-button btn-floating red tooltipped waves-effect waves-light" data-action="delete" data-position="top" data-tooltip="Delete"><i class="material-icons">delete</i></a>
<a class="action-button btn-floating tooltipped waves-effect waves-light" data-action="analyse" data-position="top" data-tooltip="Analyse"><i class="material-icons">search</i></a>
<a class="action-button btn-floating tooltipped waves-effect waves-light" data-action="view" data-position="top" data-tooltip="View"><i class="material-icons">send</i></a>
</td>
</tr>`,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment