[yocto] [patchwork][PATCH 3/3] patch-list: call tablecheckbox plugin from patch-list
Jose Lamego
jose.a.lamego at linux.intel.com
Tue Feb 28 15:07:34 PST 2017
This change calls the tablecheckbox.js plugin to add functionality
in a patch-list to allow user to select single / multiple / all
table row(s) by clicking.
[YOCTO #10819]
Signed-off-by: Jose Lamego <jose.a.lamego at linux.intel.com>
---
patchwork/templates/patchwork/patch-list.html | 2 ++
1 file changed, 2 insertions(+)
diff --git a/patchwork/templates/patchwork/patch-list.html b/patchwork/templates/patchwork/patch-list.html
index ec52231..fe6f99f 100644
--- a/patchwork/templates/patchwork/patch-list.html
+++ b/patchwork/templates/patchwork/patch-list.html
@@ -38,8 +38,10 @@
<script type="text/javascript">
$(document).ready(function() {
$('#patchlist').stickyTableHeaders();
+ $( '.table' ).tablecheckbox();
});
</script>
+<script type="text/javascript" src="{% static "js/jquery.tablecheckbox.js" %}"></script>
<form method="post">
{% csrf_token %}
<input type="hidden" name="form" value="patchlistform"/>
--
1.9.1
More information about the yocto
mailing list