Merge "Fix JS error happening when closing "use this file" dialog"

This commit is contained in:
jenkins-bot 2014-02-28 17:53:17 +00:00 committed by Gerrit Code Review
commit 31c2b4169f

View file

@ -111,7 +111,7 @@
ownId = 'mw-mlb-use-file-onwiki-normal',
owId = 'mw-mlb-use-file-offwiki',
viewer = this.viewer,
reuse = this,
$owtLabel = $( '<label>' )
.prop( 'for', owtId )
@ -175,7 +175,7 @@
width: 750,
close: function () {
// Delete the dialog object
viewer.ui.$dialog = undefined;
reuse.$dialog = undefined;
}
} );