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
0cdf00b5
Commit
0cdf00b5
authored
Nov 06, 2018
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gadget_complex_demo_form.js
parent
9dafc5c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
demo/gadget_complex_demo_form.js
demo/gadget_complex_demo_form.js
+7
-5
No files found.
demo/gadget_complex_demo_form.js
View file @
0cdf00b5
/*jslint nomen: true, maxlen: 200, indent: 2*/
/*global rJS, console, window, document, RSVP
, jIO
*/
/*global rJS, console, window, document, RSVP*/
(
function
(
window
,
rJS
,
jIO
)
{
(
function
(
window
,
rJS
)
{
"
use strict
"
;
function
transform_olap_dimensions
(
g
,
dimensions
)
{
...
...
@@ -128,8 +128,10 @@
used_dimensions
=
[];
mod
=
JSON
.
parse
(
modification_dict
[
scope
]);
for
(
i
=
0
;
i
<
mod
.
length
;
i
+=
1
)
{
dimension
=
g
.
props
.
hierarchies
[
mod
[
i
]].
dimension
;
used_dimensions
.
push
(
dimension
);
if
(
mod
[
i
]
!==
undefined
)
{
dimension
=
g
.
props
.
hierarchies
[
mod
[
i
]].
dimension
;
used_dimensions
.
push
(
dimension
);
}
}
g
.
props
.
axes
[
scope
]
=
used_dimensions
;
}
...
...
@@ -142,4 +144,4 @@
]);
});
}(
window
,
rJS
,
jIO
));
\ No newline at end of file
}(
window
,
rJS
));
\ No newline at end of file
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