mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Remove set
event with no listeners
Change-Id: I4bdabf0129b65d76281f9f18b92ba202bb9840d3
This commit is contained in:
parent
80344da282
commit
68e2f6279a
|
@ -76,16 +76,6 @@ ve.ui.MWTwoPaneTransclusionDialogLayout = function VeUiMWTwoPaneTransclusionDial
|
|||
|
||||
OO.inheritClass( ve.ui.MWTwoPaneTransclusionDialogLayout, OO.ui.MenuLayout );
|
||||
|
||||
/* Events */
|
||||
|
||||
/**
|
||||
* A 'set' event is emitted when a page is {@link #setPage set} to be displayed by the
|
||||
* booklet layout.
|
||||
*
|
||||
* @event set
|
||||
* @param {OO.ui.PageLayout} page Current page
|
||||
*/
|
||||
|
||||
/* Methods */
|
||||
|
||||
/**
|
||||
|
@ -342,7 +332,6 @@ ve.ui.MWTwoPaneTransclusionDialogLayout.prototype.clearPages = function () {
|
|||
/**
|
||||
* Set the current page by symbolic name.
|
||||
*
|
||||
* @fires set
|
||||
* @param {string} name Symbolic name of page
|
||||
*/
|
||||
ve.ui.MWTwoPaneTransclusionDialogLayout.prototype.setPage = function ( name ) {
|
||||
|
@ -371,7 +360,6 @@ ve.ui.MWTwoPaneTransclusionDialogLayout.prototype.setPage = function ( name ) {
|
|||
page.setActive( true );
|
||||
this.stackLayout.setItem( page );
|
||||
this.refreshControls();
|
||||
this.emit( 'set', page );
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue