* @uses mw.Upload
* @uses mw.Upload.BookletLayout
* @extends OO.ui.ProcessDialog
+ *
+ * @constructor
+ * @param {Object} [config] Configuration options
* @cfg {Function} [bookletClass=mw.Upload.BookletLayout] Booklet class to be
* used for the steps
* @cfg {Object} [booklet] Booklet constructor configuration
/* Static Properties */
+ /**
+ * @inheritdoc
+ * @property name
+ */
+ mw.Upload.Dialog.static.name = 'mwUploadDialog';
+
/**
* @inheritdoc
* @property title
} );
}
if ( action === 'cancel' ) {
- return new OO.ui.Process( this.close() );
+ return new OO.ui.Process( this.close().closed );
}
if ( action === 'cancelupload' ) {
return new OO.ui.Process( this.uploadBooklet.initialize() );