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
7984ac56
Commit
7984ac56
authored
Aug 24, 2018
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: fist value choosing fixed
parent
ac03cab9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
test/jsonform_test_view.js
test/jsonform_test_view.js
+4
-8
No files found.
test/jsonform_test_view.js
View file @
7984ac56
...
...
@@ -156,11 +156,7 @@
return
g
.
getContent
();
})
.
push
(
function
(
ret
)
{
if
(
ret
!==
gadget
.
props
.
schemas
[
0
])
{
gadget
.
props
.
schema
=
ret
;
}
else
{
gadget
.
props
.
schema
=
null
;
}
gadget
.
props
.
schema
=
ret
;
return
render_document_selection_form
(
gadget
,
ret
);
});
}
...
...
@@ -171,9 +167,9 @@
})
.
push
(
function
(
ret
)
{
gadget
.
props
.
valid
=
null
;
if
(
ret
!==
gadget
.
props
.
documents
[
0
])
{
var
test
=
gadget
.
props
.
schema
+
'
:
'
+
ret
;
test
=
gadget
.
props
.
test_data
[
test
];
var
test
=
gadget
.
props
.
schema
+
'
:
'
+
ret
;
test
=
gadget
.
props
.
test_data
[
test
]
;
if
(
test
)
{
console
.
log
(
test
.
schema
);
console
.
log
(
test
.
data
);
return
gadget
.
changeState
({
...
...
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