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
7afc3a24
Commit
7afc3a24
authored
Mar 18, 2019
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demo: change form layout
parent
047c01d4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
15 deletions
+8
-15
demo/xmla_connection/olap_wizard.json
demo/xmla_connection/olap_wizard.json
+7
-13
demo/xmla_connection/wizard.js
demo/xmla_connection/wizard.js
+1
-2
No files found.
demo/xmla_connection/olap_wizard.json
View file @
7afc3a24
...
...
@@ -15,10 +15,6 @@
"connection_name"
:
{
"$ref"
:
"urn:jio:remote_connections.json"
},
"parameters"
:
{
"type"
:
"object"
,
"additionalProperties"
:
false
,
"properties"
:
{
"columns"
:
{
"title"
:
"columns"
,
"$ref"
:
"#/definitions/choice"
...
...
@@ -27,8 +23,6 @@
"title"
:
"rows"
,
"$ref"
:
"#/definitions/choice"
}
}
}
},
"additionalProperties"
:
false
}
\ No newline at end of file
demo/xmla_connection/wizard.js
View file @
7afc3a24
...
...
@@ -46,7 +46,6 @@
var
dimensions
=
[],
key
,
dimension
;
v
=
v
.
parameters
;
if
(
v
)
{
if
(
v
.
columns
)
{
for
(
key
in
v
.
columns
)
{
...
...
@@ -503,7 +502,7 @@
if
(
g
.
props
.
init_value
)
{
connection_settings
=
connections
[
convertOnMultiLevel
(
g
.
props
.
init_value
,
"
/connection_name
"
)];
if
(
path
!==
"
/
parameters/columns/
"
&&
path
!==
"
/parameters
/rows/
"
)
{
if
(
path
!==
"
/
columns/
"
&&
path
!==
"
/rows/
"
)
{
choice_settings
=
convertOnMultiLevel
(
g
.
props
.
init_value
,
path
);
}
return
generateChoiceSchema
(
connection_settings
,
g
.
props
.
used_dimensions
,
choice_settings
);
...
...
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