Jdlrobson has uploaded a new change for review. https://gerrit.wikimedia.org/r/214370
Change subject: Reflect upstream infrastructure change ...................................................................... Reflect upstream infrastructure change View now supports enhance mode. Bug: T98175 Change-Id: I8aa71d7b5d0389b1ac4d7c6861cc84f14486f4d0 --- M resources/ext.gather.collections.list/CollectionsList.js 1 file changed, 1 insertion(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather refs/changes/70/214370/1 diff --git a/resources/ext.gather.collections.list/CollectionsList.js b/resources/ext.gather.collections.list/CollectionsList.js index e0eca0f..0beba97 100644 --- a/resources/ext.gather.collections.list/CollectionsList.js +++ b/resources/ext.gather.collections.list/CollectionsList.js @@ -9,8 +9,8 @@ CreateCollectionButton = M.require( 'ext.gather.collections.list/CreateCollectionButton' ); CollectionsList = View.extend( { + /** @inheritdoc */ defaults: { - enhance: false, collections: [] }, template: mw.template.get( 'ext.gather.collections.list', 'CollectionsList.hogan' ), @@ -20,9 +20,6 @@ }, /** @inheritdoc */ initialize: function ( options ) { - if ( options.enhance ) { - this.template = false; - } View.prototype.initialize.apply( this, arguments ); // After the initial render initialize the infinite scrolling. this.$pagination = this.$el.find( '.collections-pagination' ); -- To view, visit https://gerrit.wikimedia.org/r/214370 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8aa71d7b5d0389b1ac4d7c6861cc84f14486f4d0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Gather Gerrit-Branch: master Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits