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
Hamza
erp5
Commits
21b01df8
Commit
21b01df8
authored
Sep 11, 2019
by
Hamza Chahed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a delete button to the officejs notebook
parent
fd63bee8
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
705 additions
and
3 deletions
+705
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.js
...m/web_page_module/gadget_officejs_jio_notebook_view.js.js
+6
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.xml
.../web_page_module/gadget_officejs_jio_notebook_view.js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_remove_html.html
...web_page_module/ojs_gadget_erp5_page_ojs_remove_html.html
+17
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_remove_html.xml
.../web_page_module/ojs_gadget_erp5_page_ojs_remove_html.xml
+325
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_remove_js.js
...tem/web_page_module/ojs_gadget_erp5_page_ojs_remove_js.js
+30
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_remove_js.xml
...em/web_page_module/ojs_gadget_erp5_page_ojs_remove_js.xml
+325
-0
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.js
View file @
21b01df8
...
...
@@ -242,6 +242,10 @@
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
'
page
'
:
"
ojs_download
"
}
}),
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
'
page
'
:
"
ojs_remove
"
}
})
]);
})
...
...
@@ -252,7 +256,8 @@
selection_url
:
url_list
[
0
],
previous_url
:
url_list
[
1
],
next_url
:
url_list
[
2
],
export_url
:
url_list
[
3
]
export_url
:
url_list
[
3
],
delete_url
:
url_list
[
4
]
});
});
});
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.xml
View file @
21b01df8
...
...
@@ -244,7 +244,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
978.
12700.38234.29030
</string>
</value>
<value>
<string>
978.
24024.22726.51012
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>
156
7529245.53
</float>
<float>
156
8207678.22
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_remove_html.html
0 → 100644
View file @
21b01df8
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Gadget OfficeJS Upload
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"gadget_erp5_page_ojs_remove.js"
></script>
</head>
<body>
</body>
</html>
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_remove_html.xml
0 → 100644
View file @
21b01df8
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_remove_js.js
0 → 100644
View file @
21b01df8
/*global window, rJS, Blob */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
Blob
)
{
"
use strict
"
;
rJS
(
window
)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
jio_remove
"
,
"
jio_remove
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
;
return
gadget
.
jio_remove
(
options
.
jio_key
)
.
push
(
function
()
{
return
gadget
.
redirect
({
'
command
'
:
'
display
'
,
'
options
'
:
{
'
page
'
:
'
ojs_notebook_list
'
}
});
});
});
}(
window
,
rJS
,
Blob
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_remove_js.xml
0 → 100644
View file @
21b01df8
This diff is collapsed.
Click to expand it.
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