Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
5d81ba21
Commit
5d81ba21
authored
Sep 04, 2015
by
Jérome Perrin
Committed by
Georgios Dagkakis
Sep 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GUI: save solution id when saving workplan for comparison
parent
a868cb33
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
dream/platform/src/dream/Output_viewSpreadsheetComparison.js
dream/platform/src/dream/Output_viewSpreadsheetComparison.js
+2
-0
dream/platform/static/dream/Output_viewSpreadsheetComparison.js
...platform/static/dream/Output_viewSpreadsheetComparison.js
+2
-0
No files found.
dream/platform/src/dream/Output_viewSpreadsheetComparison.js
View file @
5d81ba21
...
...
@@ -34,6 +34,7 @@
new_spreadsheet
=
JSON
.
parse
(
result_list
[
0
]).
result
.
result_list
[
options
.
result
][
options
.
action_definition
.
configuration
.
output_id
];
gadget
.
props
.
new_spreadsheet
=
new_spreadsheet
;
gadget
.
props
.
options
=
options
;
return
result_list
[
1
].
render
(
JSON
.
stringify
([
reference_spreadsheet
,
new_spreadsheet
]));
});
})
...
...
@@ -55,6 +56,7 @@
var
object_data
=
JSON
.
parse
(
data
);
// XXX option for that
object_data
.
input
.
reference_spreadsheet
=
gadget
.
props
.
new_spreadsheet
;
object_data
.
input
.
reference_solution
=
gadget
.
props
.
options
.
id
;
return
gadget
.
aq_putAttachment
({
"
_id
"
:
gadget
.
props
.
jio_key
,
"
_attachment
"
:
"
body.json
"
,
...
...
dream/platform/static/dream/Output_viewSpreadsheetComparison.js
View file @
5d81ba21
...
...
@@ -14,6 +14,7 @@
}).
push
(
function
(
result_list
)
{
var
reference_spreadsheet
=
JSON
.
parse
(
result_list
[
0
]).
input
.
reference_spreadsheet
||
[],
new_spreadsheet
=
JSON
.
parse
(
result_list
[
0
]).
result
.
result_list
[
options
.
result
][
options
.
action_definition
.
configuration
.
output_id
];
gadget
.
props
.
new_spreadsheet
=
new_spreadsheet
;
gadget
.
props
.
options
=
options
;
return
result_list
[
1
].
render
(
JSON
.
stringify
([
reference_spreadsheet
,
new_spreadsheet
]));
});
}).
declareMethod
(
"
startService
"
,
function
()
{
...
...
@@ -29,6 +30,7 @@
var
object_data
=
JSON
.
parse
(
data
);
// XXX option for that
object_data
.
input
.
reference_spreadsheet
=
gadget
.
props
.
new_spreadsheet
;
object_data
.
input
.
reference_solution
=
gadget
.
props
.
options
.
id
;
return
gadget
.
aq_putAttachment
({
_id
:
gadget
.
props
.
jio_key
,
_attachment
:
"
body.json
"
,
...
...
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