adding json export
This commit is contained in:
@@ -76,6 +76,7 @@
|
||||
|
||||
<script type='text/mustache' id="exportActionsTemplate">
|
||||
<li><a class="csv" href="JavaScript:void(0);">CSV</a></li>
|
||||
<li><a class="csv" href="JavaScript:void(0);">JSON</a></li>
|
||||
</script>
|
||||
|
||||
<script type='text/mustache' id="columnActionsTemplate">
|
||||
|
||||
@@ -22,6 +22,10 @@ var removalist = function() {
|
||||
window.location.href = app.csvUrl;
|
||||
}
|
||||
|
||||
if ($(e.target).hasClass('json')) {
|
||||
window.location.href = app.csvUrl;
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
$('.menu').hide();
|
||||
|
||||
Reference in New Issue
Block a user