Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
f96ce9ff
Commit
f96ce9ff
authored
Apr 05, 2016
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: Add put and post method to erp5_jio
parent
a9b79108
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_jio_js.js
...athTemplateItem/web_page_module/rjs_gadget_erp5_jio_js.js
+6
-0
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_jio_js.js
View file @
f96ce9ff
...
@@ -210,6 +210,12 @@
...
@@ -210,6 +210,12 @@
})
})
.
declareMethod
(
'
putAttachment
'
,
function
(
id
,
name
,
json
)
{
.
declareMethod
(
'
putAttachment
'
,
function
(
id
,
name
,
json
)
{
return
wrapJioCall
(
this
,
'
putAttachment
'
,
[
id
,
name
,
JSON
.
stringify
(
json
)]);
return
wrapJioCall
(
this
,
'
putAttachment
'
,
[
id
,
name
,
JSON
.
stringify
(
json
)]);
})
.
declareMethod
(
'
put
'
,
function
(
key
,
doc
)
{
return
wrapJioCall
(
this
,
'
put
'
,
[
key
,
doc
]);
})
.
declareMethod
(
'
post
'
,
function
(
doc
)
{
return
wrapJioCall
(
this
,
'
post
'
,
[
doc
]);
});
});
}(
window
,
rJS
,
RSVP
,
UriTemplate
,
URI
,
Query
,
SimpleQuery
,
ComplexQuery
,
jIO
));
}(
window
,
rJS
,
RSVP
,
UriTemplate
,
URI
,
Query
,
SimpleQuery
,
ComplexQuery
,
jIO
));
\ 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