Commit 5e5e4c6d authored by Ted Trask's avatar Ted Trask
Browse files

Add tablesorter zebra widget

parent a1c6854f
...@@ -197,7 +197,7 @@ end ...@@ -197,7 +197,7 @@ end
$(this).parent().find("[name='message']").attr("value", messages.join(",")); $(this).parent().find("[name='message']").attr("value", messages.join(","));
} }
$(document).ready(function() { $(document).ready(function() {
$("#list").tablesorter({headers: {0:{sorter: false}, 1:{sorter: false}}}); $("#list").tablesorter({headers: {0:{sorter: false}, 1:{sorter: false}}, widgets: ['zebra']});
$("#list").bind("sortStart",function() { $("#list").bind("sortStart",function() {
$(".temporaryplayer").remove(); $(".temporaryplayer").remove();
}); });
......
...@@ -17,7 +17,7 @@ html = require("acf.html") ...@@ -17,7 +17,7 @@ html = require("acf.html")
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
$("#list").tablesorter({headers: {0:{sorter: false}}}); $("#list").tablesorter({headers: {0:{sorter: false}}, widgets: ['zebra']});
$(".deleteuser").click(function(){ return confirm("Are you sure you want to delete this user?")}); $(".deleteuser").click(function(){ return confirm("Are you sure you want to delete this user?")});
}); });
</script> </script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment