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
Ludovic Kiefer
erp5
Commits
8a7c732a
Commit
8a7c732a
authored
Aug 10, 2020
by
Ludovic Kiefer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_run_my_doc: add 'add new' button when editing the last slide
parent
64dad9e2
Changes
1
Show 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 @
8a7c732a
...
@@ -225,14 +225,25 @@
...
@@ -225,14 +225,25 @@
type
:
'
button
'
,
type
:
'
button
'
,
'
class
'
:
'
list-btn ui-icon-th ui-btn-icon-left
'
,
'
class
'
:
'
list-btn ui-icon-th ui-btn-icon-left
'
,
text
:
translation_dict
.
List
text
:
translation_dict
.
List
}),
})
);
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
'
,
{
domsugar
(
'
button
'
,
{
type
:
'
button
'
,
type
:
'
button
'
,
disabled
:
disable_next
,
'
class
'
:
'
next-btn ui-icon-forward ui-btn-icon-left
'
,
'
class
'
:
'
next-btn ui-icon-forward ui-btn-icon-left
'
,
text
:
translation_dict
.
Next
text
:
translation_dict
.
Next
})
})
);
);
}
return
button_list
;
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