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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
2b80b8a5
Commit
2b80b8a5
authored
Aug 10, 2020
by
Ludovic Kiefer
Committed by
Romain Courteaud
Sep 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_run_my_doc: add 'add new' button when editing the last slide
parent
11c8c6ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
6 deletions
+17
-6
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/slideeditor.gadget.js.js
...tem/portal_skins/erp5_run_my_doc/slideeditor.gadget.js.js
+17
-6
No files found.
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/slideeditor.gadget.js.js
View file @
2b80b8a5
...
...
@@ -219,14 +219,25 @@
type
:
'
button
'
,
'
class
'
:
'
list-btn ui-icon-th ui-btn-icon-left
'
,
text
:
translation_dict
.
List
}),
domsugar
(
'
button
'
,
{
type
:
'
button
'
,
disabled
:
disable_next
,
'
class
'
:
'
next-btn ui-icon-forward ui-btn-icon-left
'
,
text
:
translation_dict
.
Next
})
);
if
(
disable_next
)
{
button_list
.
push
(
domsugar
(
'
button
'
,
{
type
:
'
button
'
,
'
class
'
:
'
display-new ui-icon-plus-circle ui-btn-icon-left
'
,
text
:
translation_dict
[
'
New Slide
'
]
})
);
}
else
{
button_list
.
push
(
domsugar
(
'
button
'
,
{
type
:
'
button
'
,
'
class
'
:
'
next-btn ui-icon-forward ui-btn-icon-left
'
,
text
:
translation_dict
.
Next
})
);
}
return
button_list
;
}
...
...
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