Commit 99b9e7b5 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

form_builder.js fix jstree field width.

parent 9627d660
......@@ -356,8 +356,11 @@ FileFormBuilder.prototype.build_file_field = function(id, hidden) {
FileFormBuilder.prototype.build_jstree = function() {
var self = this;
var d = this.build_wrapper();
d.className += " jstree_field";
var w = this.build_wrapper();
var d = document.createElement('div');
w.appendChild(d);
d.className += " jstree_field form-control";
if (!this.source) {
d.hidden = true;
}
......
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