jenkins-bot has submitted this change and it was merged.

Change subject: maxheight for window, otherwise it's too big at some point
......................................................................


maxheight for window, otherwise it's too big at some point

Change-Id: I09cf15ed1c008967f66d32a10954f6ab3fb08e73
---
M FormattingHelp/resources/bluespice.formattinghelp.js
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Pwirth: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/FormattingHelp/resources/bluespice.formattinghelp.js 
b/FormattingHelp/resources/bluespice.formattinghelp.js
index c20a3ca..f967717 100644
--- a/FormattingHelp/resources/bluespice.formattinghelp.js
+++ b/FormattingHelp/resources/bluespice.formattinghelp.js
@@ -16,7 +16,8 @@
        $(document).on( 'click', 'a#bs-editbutton-formattinghelp', function(e){
                e.preventDefault();
                
-               Ext.require( 'BS.FormattingHelp.Window', function() {
+               Ext.require( 'BS.FormattingHelp.Window', function () {
+                       BS.FormattingHelp.Window.maxHeight = 
Ext.getBody().getViewSize().height;
                        BS.FormattingHelp.Window.show();
                });
                

-- 
To view, visit https://gerrit.wikimedia.org/r/224574
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I09cf15ed1c008967f66d32a10954f6ab3fb08e73
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_22
Gerrit-Owner: Tweichart <weich...@hallowelt.biz>
Gerrit-Reviewer: Mglaser <gla...@hallowelt.biz>
Gerrit-Reviewer: Pwirth <wi...@hallowelt.biz>
Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to