Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
99b9e7b5
Commit
99b9e7b5
authored
Mar 20, 2018
by
Ryan Herbert
Browse files
form_builder.js fix jstree field width.
parent
9627d660
Changes
1
Show whitespace changes
Inline
Side-by-side
browser/js/form_builder.js
View file @
99b9e7b5
...
@@ -356,8 +356,11 @@ FileFormBuilder.prototype.build_file_field = function(id, hidden) {
...
@@ -356,8 +356,11 @@ FileFormBuilder.prototype.build_file_field = function(id, hidden) {
FileFormBuilder
.
prototype
.
build_jstree
=
function
()
{
FileFormBuilder
.
prototype
.
build_jstree
=
function
()
{
var
self
=
this
;
var
self
=
this
;
var
d
=
this
.
build_wrapper
();
var
w
=
this
.
build_wrapper
();
d
.
className
+=
"
jstree_field
"
;
var
d
=
document
.
createElement
(
'
div
'
);
w
.
appendChild
(
d
);
d
.
className
+=
"
jstree_field form-control
"
;
if
(
!
this
.
source
)
{
if
(
!
this
.
source
)
{
d
.
hidden
=
true
;
d
.
hidden
=
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment