Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Klaus Wölfel
erp5
Commits
879588b6
Commit
879588b6
authored
4 years ago
by
Romain Courteaud
🐙
Browse files
Options
Download
Email Patches
Plain Diff
erp5_core: gadget editor: do not show the maximize button when not embedding a subgadget
parent
9327a770
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_editor.js.js
...inTemplateItem/portal_skins/erp5_core/gadget_editor.js.js
+5
-0
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_editor.js.js
View file @
879588b6
...
...
@@ -72,6 +72,11 @@
state_dict
.
editor
=
'
html_viewer
'
;
state_dict
.
maximize
=
undefined
;
}
if
(
!
editor_dict
.
hasOwnProperty
(
state_dict
.
editor
))
{
// Do not show the maximize button when not embedding a subgadget
state_dict
.
maximize
=
undefined
;
}
return
this
.
changeState
(
state_dict
);
})
...
...
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