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
114c40af
Commit
114c40af
authored
Oct 12, 2017
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_support_request_ui: fit notifySubmitted new API
parent
03fbd4a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_pt_form_view_discussable_js.js
...dule/gadget_supportrequest_pt_form_view_discussable_js.js
+2
-2
No files found.
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_pt_form_view_discussable_js.js
View file @
114c40af
...
...
@@ -189,10 +189,10 @@
editor
=
gadget
.
element
.
querySelector
(
'
#comment
'
);
if
(
editor
.
value
===
''
)
{
return
gadget
.
notifySubmitted
(
"
Post content can not be empty!
"
);
return
gadget
.
notifySubmitted
(
{
message
:
"
Post content can not be empty!
"
}
);
}
return
gadget
.
notifySubmitted
(
"
Comment added
"
)
return
gadget
.
notifySubmitted
(
{
message
:
"
Comment added
"
}
)
.
push
(
function
()
{
var
choose_file_html_element
=
gadget
.
element
.
querySelector
(
'
#attachment
'
),
file_blob
=
choose_file_html_element
.
files
[
0
],
...
...
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