This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always show the save buttons in the modal windows (see #5985)
- Loading branch information
Showing
5 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -718,7 +718,7 @@ var Backend = | |
openModalWindow: function(width, title, content) { | ||
new SimpleModal({ | ||
'width': width, | ||
'btn_ok': Contao.lang.close, | ||
'hideFooter': true, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Zeromax
|
||
'draggable': false, | ||
'overlayOpacity': .5, | ||
'onShow': function() { document.body.setStyle('overflow', 'hidden'); }, | ||
|
@@ -737,7 +737,7 @@ var Backend = | |
var opt = options || {}; | ||
var M = new SimpleModal({ | ||
'width': opt.width, | ||
'btn_ok': Contao.lang.close, | ||
'hideFooter': true, | ||
'draggable': false, | ||
'overlayOpacity': .5, | ||
'onShow': function() { document.body.setStyle('overflow', 'hidden'); }, | ||
|
@@ -759,7 +759,7 @@ var Backend = | |
if (!opt.height || opt.height > max) opt.height = max; | ||
var M = new SimpleModal({ | ||
'width': opt.width, | ||
'btn_ok': Contao.lang.close, | ||
'hideFooter': true, | ||
'draggable': false, | ||
'overlayOpacity': .5, | ||
'onShow': function() { document.body.setStyle('overflow', 'hidden'); }, | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
related to changes from #5985
@leofeyer Is it realy needed to remove the footer and Close Button here? Can we get this Button back?
try this code:
The footer height from the modal Window reduces to
0px
and I am moving the modal cloase button a little bit up to get it in the same line as thesave
Buttons.So the only Thing I don't like is the scrollbar on the right. But at the moment I have no idea for this.
Then it lookes like the image from @fixounet in his first comment.