jenkins-bot has submitted this change and it was merged.
Change subject: Adjust styling on jQuery authorize dialog
......................................................................
Adjust styling on jQuery authorize dialog
Bug: 54717
Change-Id: I1784c5487c75c97823aad3acb2344cdb73146583
---
M frontend/modules/ext.MWOAuth.AuthorizeDialog.js
M frontend/modules/ext.MWOAuth.AuthorizeForm.css
2 files changed, 8 insertions(+), 1 deletion(-)
Approvals:
CSteipp: Looks good to me, approved
jenkins-bot: Verified
diff --git a/frontend/modules/ext.MWOAuth.AuthorizeDialog.js
b/frontend/modules/ext.MWOAuth.AuthorizeDialog.js
index 8a7fd4b..046fd8a 100644
--- a/frontend/modules/ext.MWOAuth.AuthorizeDialog.js
+++ b/frontend/modules/ext.MWOAuth.AuthorizeDialog.js
@@ -10,10 +10,13 @@
var form = $( '#mw-mwoauth-authorize-dialog' );
form.find( '.mw-htmlform-submit-buttons' ).addClass(
'mw-ui-flush-right' );
form.dialog( {
+ dialogClass:
'mw-mwoauth-authorize-jQuery-dialog',
modal: true,
width: 800,
maxHeight: 600,
- title: mw.msg( 'mwoauth-desc' )
+ title: mw.msg( 'mwoauth-desc' ),
+ draggable: false,
+ resizable: false
} );
}
};
diff --git a/frontend/modules/ext.MWOAuth.AuthorizeForm.css
b/frontend/modules/ext.MWOAuth.AuthorizeForm.css
index 34bd5df..496a610 100644
--- a/frontend/modules/ext.MWOAuth.AuthorizeForm.css
+++ b/frontend/modules/ext.MWOAuth.AuthorizeForm.css
@@ -16,3 +16,7 @@
.client-js #mw-mwoauth-authorize-dialog {
display: none; /* no flicker */
}
+
+.mw-mwoauth-authorize-jQuery-dialog .ui-dialog-titlebar {
+ display: none;
+}
--
To view, visit https://gerrit.wikimedia.org/r/86285
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1784c5487c75c97823aad3acb2344cdb73146583
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OAuth
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: CSteipp <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits