Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #84 from gcummins/patch-1
Browse files Browse the repository at this point in the history
Assign the Datatable object to a variable
  • Loading branch information
Nils Plaschke committed May 5, 2014
2 parents 8e4a139 + 8e8fb0b commit 3b7404f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/javascript.blade.php
@@ -1,7 +1,7 @@
<script type="text/javascript">
jQuery(document).ready(function(){
// dynamic table
jQuery('#{{ $id }}').dataTable({
oTable = jQuery('#{{ $id }}').dataTable({
@foreach ($options as $k => $o)
{{ json_encode($k) }}: {{ json_encode($o) }},
Expand All @@ -14,4 +14,4 @@
});
// custom values are available via $values array
});
</script>
</script>

0 comments on commit 3b7404f

Please sign in to comment.