Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio_mebibou
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
Alexandra Rogova
jio_mebibou
Commits
e56d7941
Commit
e56d7941
authored
Mar 12, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5storage taskman get shortcut done
parent
1ecf0899
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
src/jio.storage/erp5storage.taskmanagerview.js
src/jio.storage/erp5storage.taskmanagerview.js
+4
-10
No files found.
src/jio.storage/erp5storage.taskmanagerview.js
View file @
e56d7941
...
...
@@ -191,16 +191,10 @@
ERP5Storage
.
onView
.
taskmanager
=
{};
ERP5Storage
.
onView
.
taskmanager
.
get
=
function
(
param
,
options
)
{
return
getHatoas
.
call
(
this
,
param
,
options
).
then
(
function
(
response
)
{
var
result
=
JSON
.
parse
(
response
.
target
.
responseText
);
result
.
_id
=
param
.
_id
;
delete
result
.
_embedded
;
delete
result
.
_links
;
delete
result
.
_debug
;
result
=
toJIOMetadata
(
result
);
new
jIO
.
Metadata
(
result
).
format
();
return
{
"
data
"
:
result
};
return
ERP5Storage
.
onView
[
"
default
"
].
get
.
call
(
this
,
param
,
options
).
then
(
function
(
answer
)
{
answer
.
data
=
toJIOMetadata
(
answer
.
data
);
return
answer
;
});
};
...
...
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