mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-09-29 13:17:35 +00:00
Workaround for OOJS ES3 incompatibility
Depends on I6cd13b4f3a72378eb27e3aaa313511ffb20227c3 Change-Id: Ia642bbd29d3cd239f1d4b56463a1d8efe4670793
This commit is contained in:
parent
f297de60bc
commit
fd8e69432d
|
@ -141,7 +141,7 @@
|
|||
DP.unattach = function() {
|
||||
var tab;
|
||||
|
||||
this.constructor.super.prototype.unattach.call( this );
|
||||
this.constructor['super'].prototype.unattach.call( this );
|
||||
|
||||
this.stopListeningToOutsideClick();
|
||||
this.reuseTabs.off( 'select' );
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* @param {jQuery} $container
|
||||
*/
|
||||
function Download( $container ) {
|
||||
Download.super.call( this, $container );
|
||||
Download['super'].call( this, $container );
|
||||
|
||||
/** @property {mw.mmv.ui.reuse.Utils} utils - */
|
||||
this.utils = new mw.mmv.ui.reuse.Utils();
|
||||
|
@ -130,7 +130,7 @@
|
|||
* Clears listeners.
|
||||
*/
|
||||
DP.unattach = function () {
|
||||
this.constructor.super.prototype.unattach.call( this );
|
||||
this.constructor['super'].prototype.unattach.call( this );
|
||||
|
||||
this.downloadSizeMenu.getMenu().off( 'select' );
|
||||
this.$selectionArrow.off( 'click' );
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
* @param {jQuery} $container
|
||||
*/
|
||||
function Embed( $container ) {
|
||||
Embed.super.call( this, $container );
|
||||
Embed['super'].call( this, $container );
|
||||
|
||||
/**
|
||||
* Formatter converting image data into formats needed for output
|
||||
|
@ -223,7 +223,7 @@
|
|||
* Clears listeners.
|
||||
*/
|
||||
EP.unattach = function() {
|
||||
this.constructor.super.prototype.unattach.call( this );
|
||||
this.constructor['super'].prototype.unattach.call( this );
|
||||
|
||||
this.embedTextHtml.offDOMEvent( 'focus mousedown click' );
|
||||
this.embedTextWikitext.offDOMEvent( 'focus mousedown click' );
|
||||
|
@ -363,7 +363,7 @@
|
|||
* Shows the pane.
|
||||
*/
|
||||
EP.show = function () {
|
||||
this.constructor.super.prototype.show.call( this );
|
||||
this.constructor['super'].prototype.show.call( this );
|
||||
this.select();
|
||||
};
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* @param {jQuery} $container
|
||||
*/
|
||||
function Share( $container ) {
|
||||
Share.super.call( this, $container );
|
||||
Share['super'].call( this, $container );
|
||||
|
||||
this.init();
|
||||
}
|
||||
|
@ -66,7 +66,7 @@
|
|||
* Shows the pane.
|
||||
*/
|
||||
SP.show = function () {
|
||||
this.constructor.super.prototype.show.call( this );
|
||||
this.constructor['super'].prototype.show.call( this );
|
||||
this.select();
|
||||
};
|
||||
|
||||
|
@ -107,7 +107,7 @@
|
|||
* @inheritdoc
|
||||
*/
|
||||
SP.unattach = function() {
|
||||
this.constructor.super.prototype.unattach.call( this );
|
||||
this.constructor['super'].prototype.unattach.call( this );
|
||||
|
||||
this.pageInput.offDOMEvent( 'focus mousedown click' );
|
||||
};
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* @constructor
|
||||
*/
|
||||
function Tab( $container ) {
|
||||
Tab.super.call( this, $container );
|
||||
Tab['super'].call( this, $container );
|
||||
|
||||
/**
|
||||
* Container for the tab.
|
||||
|
|
|
@ -259,7 +259,7 @@
|
|||
* Clears listeners.
|
||||
*/
|
||||
SBP.unattach = function () {
|
||||
this.constructor.super.prototype.unattach.call( this );
|
||||
this.constructor['super'].prototype.unattach.call( this );
|
||||
this.buttons.$reuse.off( 'click.mmv-stripeButtons' );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue