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
c53ac880
Commit
c53ac880
authored
Mar 14, 2019
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add reference to notification options and fake `render` action
parent
22b203b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
jsonform.gadget.js
jsonform.gadget.js
+1
-1
jsonform/gadget_json_generated_form_child.js
jsonform/gadget_json_generated_form_child.js
+11
-0
No files found.
jsonform.gadget.js
View file @
c53ac880
...
...
@@ -272,7 +272,7 @@
hash
=
url
.
hash
;
url
=
url
.
href
;
if
(
download_url
.
startsWith
(
"
urn:jio:
"
))
{
external_reference
=
true
;
external_reference
=
download_url
;
queue
=
RSVP
.
Queue
()
.
push
(
function
()
{
return
g
.
resolveExternalReference
(
download_url
,
schema_path
,
path
);
...
...
jsonform/gadget_json_generated_form_child.js
View file @
c53ac880
...
...
@@ -348,6 +348,15 @@
ignore_incorrect
:
g
.
props
.
ignore_incorrect
,
scope
:
scope
})
.
push
(
function
()
{
if
(
options
.
schema_arr
.
external_reference
)
{
return
form_gadget
.
rootNotifyChange
({
scope
:
scope
,
action
:
"
render
"
,
path
:
"
/
"
});
}
})
.
push
(
function
()
{
if
(
form_gadget
.
props
.
changed
)
{
g
.
props
.
changed
=
true
;
...
...
@@ -535,6 +544,7 @@
return
schema_arr
;
}
ret_arr
[
0
].
circular
=
circular
;
ret_arr
.
external_reference
=
schema_arr
.
external_reference
;
return
ret_arr
;
}
return
schema_arr
;
...
...
@@ -1818,6 +1828,7 @@
scope
:
v
.
scope
||
g
.
element
.
getAttribute
(
"
data-gadget-scope
"
),
rel_path
:
v
.
path
,
path
:
p
,
ref
:
g
.
props
.
schema_arr
.
external_reference
,
action
:
v
.
action
});
});
...
...
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