mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
ve.ui.MWReferencesListDialog: Fix exception caused by a copy-paste mistake
Follow-up to cf95dbd4be
.
Bug: T297418
Change-Id: I7c3970cf5a9b3632438e96513e9e983a5527aa21
This commit is contained in:
parent
bee357337c
commit
90fb1eba04
|
@ -125,7 +125,7 @@ ve.ui.MWReferencesListDialog.prototype.getActionProcess = function ( action ) {
|
|||
|
||||
if ( this.selectedNode ) {
|
||||
// Edit existing model
|
||||
var surfaceModel = this.getFragment().getDocument();
|
||||
var surfaceModel = this.getFragment().getSurface();
|
||||
var doc = surfaceModel.getDocument();
|
||||
|
||||
if ( this.isModified() ) {
|
||||
|
|
Loading…
Reference in a new issue