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
Boris Kocherov
rjs_json_form
Commits
bdc9c516
Commit
bdc9c516
authored
May 04, 2018
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fields
parent
49b2716a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
gadget_json_generated_form.js
gadget_json_generated_form.js
+1
-1
gadget_json_generated_form_child.js
gadget_json_generated_form_child.js
+6
-0
No files found.
gadget_json_generated_form.js
View file @
bdc9c516
...
...
@@ -450,7 +450,7 @@
a
.
setAttribute
(
"
href
"
,
"
#
"
+
errorUid
);
a
.
text
=
errorId
;
element
.
setAttribute
(
"
class
"
,
"
error-input
"
);
error_message
=
element
.
querySelector
(
"
#
"
+
id
.
replace
(
"
/
"
,
"
\\
/
"
)
+
"
> .error
"
);
error_message
=
element
.
querySelector
(
"
#
"
+
id
.
replace
(
/
\/
/g
,
"
\\
/
"
)
+
"
> .error
"
);
error_message
.
appendChild
(
a
);
error_message
.
setAttribute
(
"
id
"
,
errorUid
);
if
(
error
.
message
instanceof
Array
)
{
...
...
gadget_json_generated_form_child.js
View file @
bdc9c516
...
...
@@ -1205,10 +1205,16 @@
data_path
=
"
/
"
;
}
scope
=
path
[
key
];
break
;
}
}
}
}
if
(
scope
===
false
)
{
return
document
.
getElementById
(
g
.
element
.
getAttribute
(
"
data-gadget-scope
"
)
+
'
/
'
+
key
+
'
/
'
);
}
if
(
scope
)
{
return
g
.
getDeclaredGadget
(
scope
)
.
push
(
function
(
gadget
)
{
...
...
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