Adrian Heine has uploaded a new change for review. https://gerrit.wikimedia.org/r/294481
Change subject: Fix event name, remove documentation of removed event ...................................................................... Fix event name, remove documentation of removed event Change-Id: I9dc266d5c72ddd91f7d145f748fb30630c82bb6f --- M view/resources/jquery/wikibase/jquery.wikibase.statementview.js M view/resources/jquery/wikibase/snakview/snakview.js 2 files changed, 1 insertion(+), 7 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/81/294481/1 diff --git a/view/resources/jquery/wikibase/jquery.wikibase.statementview.js b/view/resources/jquery/wikibase/jquery.wikibase.statementview.js index 068f5b0..848c741 100644 --- a/view/resources/jquery/wikibase/jquery.wikibase.statementview.js +++ b/view/resources/jquery/wikibase/jquery.wikibase.statementview.js @@ -53,12 +53,6 @@ * likely to be used inside the tooltip of the toolbar corresponding to the `statementview`. */ /** - * @event afterremove - * Triggered after a `referenceview` has been remove from the `statementview`'s list of - * `referenceview`s. - * @param {jQuery.Event} event - */ -/** * @event change * Triggered whenever the view's content is changed. * @param {jQuery.Event} event diff --git a/view/resources/jquery/wikibase/snakview/snakview.js b/view/resources/jquery/wikibase/snakview/snakview.js index eb83edb..36e8d1f 100644 --- a/view/resources/jquery/wikibase/snakview/snakview.js +++ b/view/resources/jquery/wikibase/snakview/snakview.js @@ -373,7 +373,7 @@ this.element.off( 'keydown.' + this.widgetName ); - this._trigger( 'afterStopEditing', null, [dropValue] ); + this._trigger( 'afterstopediting', null, [dropValue] ); }, /** -- To view, visit https://gerrit.wikimedia.org/r/294481 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9dc266d5c72ddd91f7d145f748fb30630c82bb6f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Adrian Heine <adrian.l...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits