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

Change subject: Move the linkItem dialog to the top
......................................................................


Move the linkItem dialog to the top

Having it horizontally centered might make it overflow
in the second step (where the dialog gets larger).

Bug: 72687
Change-Id: I4b1be1f6c5ace22f46081ce487e69155306c56f0
---
M client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Thiemo Mättig (WMDE): Looks good to me, but someone else must approve
  Henning Snater: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js 
b/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
index e1bc376..97ef362 100644
--- a/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
+++ b/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
@@ -161,6 +161,7 @@
                                title: mw.message( 'wikibase-linkitem-title' 
).escaped(),
                                width: 500,
                                resizable: false,
+                               position: { my: "top", at: "top+50", of: window 
},
                                buttons: [ {
                                        text: mw.msg( 
'wikibase-linkitem-linkpage' ),
                                        id: 'wbclient-linkItem-goButton',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4b1be1f6c5ace22f46081ce487e69155306c56f0
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <h...@online.de>
Gerrit-Reviewer: Adrian Lang <adrian.l...@wikimedia.de>
Gerrit-Reviewer: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Henning Snater <henning.sna...@wikimedia.de>
Gerrit-Reviewer: Hoo man <h...@online.de>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>
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