Make reference list dialog small again

Also remove now-useless size setting in save dialog

Bug: 64670
Change-Id: I1abc760a27ce2b107a92413ff3d5da7d95915dc2
This commit is contained in:
Roan Kattouw 2014-04-30 18:05:41 -07:00
parent e52883df5a
commit dfbb7815e9
2 changed files with 2 additions and 6 deletions

View file

@ -15,9 +15,6 @@
* @param {Object} [config] Configuration options
*/
ve.ui.MWReferenceListDialog = function VeUiMWReferenceListDialog( config ) {
// Configuration initialization
config = ve.extendObject( { 'size': 'small' }, config );
// Parent constructor
ve.ui.MWReferenceListDialog.super.call( this, config );
};
@ -37,6 +34,8 @@ ve.ui.MWReferenceListDialog.static.icon = 'references';
ve.ui.MWReferenceListDialog.static.modelClasses = [ ve.dm.MWReferenceListNode ];
ve.ui.MWReferenceListDialog.static.defaultSize = 'small';
/* Methods */
/**

View file

@ -20,9 +20,6 @@
* @param {Object} [config] Config options
*/
ve.ui.MWSaveDialog = function VeUiMWSaveDialog( config ) {
// Configuration initialization
config = ve.extendObject( { 'size': 'medium' }, config );
// Parent constructor
ve.ui.Dialog.call( this, config );