mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-28 20:56:44 +00:00
c13dce97ec
Change-Id: Ibc3f49c55ded5490fcb071f0ccf9f25a71a06c97 Warning: categories.json Class 've.NodeFactory' not found in categories file Warning: ve.ui.ContentDialog.js:8: Unknown type ve.ui.Surface Warning: ve.ui.MetaDialog.js:8: Unknown type ve.ui.Surface Warning: ve.ui.Dialog.js:8: Unknown type ve.ui.Surface
40 lines
732 B
JavaScript
40 lines
732 B
JavaScript
/*!
|
|
* VisualEditor user interface ContentDialog class.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/**
|
|
* Document dialog.
|
|
*
|
|
* @class
|
|
* @abstract
|
|
* @extends ve.ui.Dialog
|
|
*
|
|
* @constructor
|
|
* @param {ve.Surface} surface
|
|
*/
|
|
ve.ui.ContentDialog = function VeUiContentDialog( surface ) {
|
|
// Parent constructor
|
|
ve.ui.Dialog.call( this, surface );
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
ve.inheritClass( ve.ui.ContentDialog, ve.ui.Dialog );
|
|
|
|
/* Static Properties */
|
|
|
|
/**
|
|
* Localized message for dialog title.
|
|
*
|
|
* @static
|
|
* @property
|
|
* @type {string}
|
|
*/
|
|
ve.ui.ContentDialog.static.dialogTitleMessage = 'visualeditor-dialog-content-title';
|
|
|
|
/* Methods */
|
|
|