Commit 5a359b4b authored by Ryan Herbert's avatar Ryan Herbert

database.js hide irrelevant field on jstree load

parent 526ff4fe
......@@ -500,6 +500,14 @@ Database.prototype = {
},
load_jstree: function(){
var elem = $('.upload_field');
elem.prop('disabled', true);
elem.parents("tr").hide();
var pre_process = $('#pre_process');
pre_process.prop('disabled', true);
pre_process.parents("tr").hide();
var tree = $('#jstree');
tree.jstree({
"plugins" : ["sort"],
......
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