Skip to content

Commit

Permalink
Merging
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Produit committed Dec 10, 2018
2 parents 701715e + f2bad9c commit 4cd65d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ckanext-editor/ckanext/editor/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.2.1/jstree.min.js"></script>
<script>
var schema = [];
console.log({{data}})
console.log({{ data |safe }})

function getCheckedBoxes() {
var treeview = document.getElementById("treeview");
var ul = treeview.getElementsByTagName("ul");
Expand All @@ -38,11 +39,11 @@
}
function term() {
var input = document.getElementById("input-script");
var output = eval(input.value)
var output = input.value
document.getElementById('output-script').innerHTML = output;
}
$(function () {
$("#jstree_demo_div").jstree({
$("#jstree").jstree({
"checkbox" : {
"keep_selected_style" : false
},
Expand All @@ -54,7 +55,7 @@

<!------------------------ Main ----------------------->

<div id="jstree_demo_div"></div>

<div class="container-fluid bg-white border rounded p-3">
<h2> Column selection </h2>
Select columns from the original:
Expand Down

0 comments on commit 4cd65d6

Please sign in to comment.