mirror of https://gitlab.crans.org/bde/nk20
He's stupid Tim\!
This commit is contained in:
parent
f077a5d72f
commit
8063354e0f
|
@ -31,13 +31,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
{% block extrajavascript %}
|
{% block extrajavascript %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function reloadTable() {
|
|
||||||
pattern = $("#searchbar").val();
|
|
||||||
|
|
||||||
if (pattern.length > 2)
|
|
||||||
$("#dynamic-table").load(location.pathname + "?search=" + pattern.replace(" ", "%20") + " #dynamic-table", init_table);
|
|
||||||
}
|
|
||||||
|
|
||||||
function init_table() {
|
function init_table() {
|
||||||
// On row click, go to object
|
// On row click, go to object
|
||||||
$(".table-row").click(function () {
|
$(".table-row").click(function () {
|
||||||
|
|
Loading…
Reference in New Issue