Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rjs_json_form
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
rjs_json_form
Commits
da053068
Commit
da053068
authored
Apr 02, 2018
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
insert additionalProperty before selector
parent
353f772d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gadget_json_generated_form.js
gadget_json_generated_form.js
+6
-2
No files found.
gadget_json_generated_form.js
View file @
da053068
...
@@ -398,7 +398,8 @@
...
@@ -398,7 +398,8 @@
function
element_append
(
child
)
{
function
element_append
(
child
)
{
if
(
child
)
{
if
(
child
)
{
div_input
.
appendChild
(
child
);
// insert additionalProperty before selector
selector
.
element
.
parentNode
.
insertBefore
(
child
,
selector
.
element
);
}
}
}
}
...
@@ -486,7 +487,10 @@
...
@@ -486,7 +487,10 @@
return
g
.
declareGadget
(
"
gadget_html5_select.html
"
,
{
scope
:
scope
});
return
g
.
declareGadget
(
"
gadget_html5_select.html
"
,
{
scope
:
scope
});
})
})
.
push
(
selector
.
rerender
)
.
push
(
selector
.
rerender
)
.
push
(
root_append
);
.
push
(
function
(
element
)
{
selector
.
element
=
element
;
return
root_append
(
element
);
});
if
(
json_field
.
patternProperties
!==
undefined
)
{
if
(
json_field
.
patternProperties
!==
undefined
)
{
if
(
json_field
.
patternProperties
[
'
.*
'
]
!==
undefined
)
{
if
(
json_field
.
patternProperties
[
'
.*
'
]
!==
undefined
)
{
...
...
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