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

use empty template for JobList and CorpusList. performance++

parent 93dcd7c3
No related branches found
No related tags found
No related merge requests found
......@@ -112,11 +112,7 @@ class CorpusList extends List {
function(items) {items[0].elm = rowElement;});
}
}
CorpusList.DEFAULT_OPTIONS = {item: `<div>
<span class="description"></span>
<td class="status"></td>
<span class="title"></span>
</div>`,
CorpusList.DEFAULT_OPTIONS = {item: "",
page: 4,
pagination: {innerWindow: 8, outerWindow: 1},
valueNames: ["description", "title", {data: ["id"]}]};
......
......@@ -113,12 +113,7 @@ class JobList extends List {
function(items) {items[0].elm = rowElement;});
}
}
JobList.DEFAULT_OPTIONS = {item: `<tr>
<td class="description"></td>
<td class="service"></td>
<td class="status"></td>
<td class="title"></td>
</tr>`,
JobList.DEFAULT_OPTIONS = {item: "",
page: 4,
pagination: {innerWindow: 8, outerWindow: 1},
valueNames: ["description", "service", "status", "title", {data: ["id"]}]};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment