jenkins-bot has submitted this change and it was merged.

Change subject: Close the citation dialog after the apply changes button is 
clicked
......................................................................


Close the citation dialog after the apply changes button is clicked

Change-Id: If3976389f0a1574fce993f5b79b9b18067a88878
---
M modules/ve-mw/ui/dialogs/ve.ui.MWCitationDialog.js
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jforrester: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWCitationDialog.js 
b/modules/ve-mw/ui/dialogs/ve.ui.MWCitationDialog.js
index b0cee57..b1d5bec 100644
--- a/modules/ve-mw/ui/dialogs/ve.ui.MWCitationDialog.js
+++ b/modules/ve-mw/ui/dialogs/ve.ui.MWCitationDialog.js
@@ -204,6 +204,8 @@
                                )
                        );
                        this.referenceModel.updateInternalItem( surfaceModel );
+
+                       this.close( { 'action': action } );
                }, this );
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/146355
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If3976389f0a1574fce993f5b79b9b18067a88878
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Trevor Parscal <tpars...@wikimedia.org>
Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to