Henning Snater has uploaded a new change for review. https://gerrit.wikimedia.org/r/89823
Change subject: (hotfix) claimview: Correctly rebuild qualifiers ...................................................................... (hotfix) claimview: Correctly rebuild qualifiers Correctly rebuilding the qualifiers listview when leaving edit mode. Change-Id: I771518dcb312928e4527509a75607f80591f1b22 --- M lib/resources/jquery.wikibase/jquery.wikibase.claimview.js 1 file changed, 1 insertion(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/23/89823/1 diff --git a/lib/resources/jquery.wikibase/jquery.wikibase.claimview.js b/lib/resources/jquery.wikibase/jquery.wikibase.claimview.js index c1826a1..4758ad8 100644 --- a/lib/resources/jquery.wikibase/jquery.wikibase.claimview.js +++ b/lib/resources/jquery.wikibase/jquery.wikibase.claimview.js @@ -469,9 +469,7 @@ // the "add qualifier" toolbar. this._destroyQualifiersListView(); - var hasInitialQualifiers = this._initialQualifiers.length > 0; - - if( ( dropValue || !dropValue && this._qualifiers ) && hasInitialQualifiers ) { + if( this._initialQualifiers.length > 0 ) { // Refill the qualifier listview with the initial (or new initial) qualifiers: this._createQualifiersListview( this._initialQualifiers ); } -- To view, visit https://gerrit.wikimedia.org/r/89823 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I771518dcb312928e4527509a75607f80591f1b22 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Henning Snater <henning.sna...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits