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
1
Issues
1
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
Roque
erp5
Commits
74feff54
Commit
74feff54
authored
Jun 26, 2019
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web: remove obsolete custom action for text editor app
parent
79619a80
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
113 deletions
+0
-113
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/gadget_field_new_text_document_action_js_script.html.html
...gadget_field_new_text_document_action_js_script.html.html
+0
-18
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/gadget_field_new_text_document_action_js_script.html.xml
.../gadget_field_new_text_document_action_js_script.html.xml
+0
-28
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/gadget_field_new_text_document_action_js_script.js.js
...web/gadget_field_new_text_document_action_js_script.js.js
+0
-39
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/gadget_field_new_text_document_action_js_script.js.xml
...eb/gadget_field_new_text_document_action_js_script.js.xml
+0
-28
No files found.
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/gadget_field_new_text_document_action_js_script.html.html
deleted
100644 → 0
View file @
79619a80
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
OfficeJS NEW Text Document Action
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"gadget_field_new_text_document_action_js_script.js"
></script>
</head>
<body>
</body>
</html>
\ No newline at end of file
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/gadget_field_new_text_document_action_js_script.html.xml
deleted
100644 → 0
View file @
79619a80
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
gadget_field_new_text_document_action_js_script.html
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/gadget_field_new_text_document_action_js_script.js.js
deleted
100644 → 0
View file @
79619a80
/*global window, rJS, RSVP */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
RSVP
)
{
"
use strict
"
;
rJS
(
window
)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
jio_post
"
,
"
jio_post
"
)
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.
declareMethod
(
"
preRenderDocument
"
,
function
(
parent_options
)
{
return
{
title
:
"
Untitled Document
"
};
})
.
declareMethod
(
'
handleSubmit
'
,
function
(
content_dict
,
parent_options
)
{
var
gadget
=
this
,
document
=
{
title
:
parent_options
.
doc
.
title
,
//hardcoded portal_type and relative url (because this action is 'new Text Document' on 'web_page_module')
//or, we can get those values from parent_options.form_definition if needed
portal_type
:
"
Web Page
"
,
parent_relative_url
:
"
web_page_module
"
},
property
;
delete
content_dict
.
dialog_method
;
for
(
property
in
content_dict
)
{
if
(
content_dict
.
hasOwnProperty
(
property
))
{
document
[
property
]
=
content_dict
[
property
];
}
}
return
gadget
.
jio_post
(
document
);
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/gadget_field_new_text_document_action_js_script.js.xml
deleted
100644 → 0
View file @
79619a80
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
gadget_field_new_text_document_action_js_script.js
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/javascript
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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