git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unfold: better management of static files thanks to finders for plugins and third...
[myslice.git]
/
plugins
/
lists
/
static
/
js
/
with-datatables.js
diff --git a/plugins/lists/static/js/with-datatables.js
b/plugins/lists/static/js/with-datatables.js
new file mode 100644
(file)
index 0000000..
75e4cc2
--- /dev/null
+++ b/
plugins/lists/static/js/with-datatables.js
@@ -0,0
+1,2
@@
+/* elements with class 'with-datatables' are set to use datatables */
+$(document).ready(function() {$('.with-datatables').each(function() { $(this).dataTable() } ) } )