Sbisson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/235127

Change subject: Remove duplicated 'loadmore' event handling
......................................................................

Remove duplicated 'loadmore' event handling

Other instance is available at flow-initialize.js:160

Change-Id: I612c41de7449bb81809fa721346cc7e7c6b15fa7
---
M modules/flow-initialize.js
1 file changed, 0 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/27/235127/1

diff --git a/modules/flow-initialize.js b/modules/flow-initialize.js
index 7ba7515..4712898 100644
--- a/modules/flow-initialize.js
+++ b/modules/flow-initialize.js
@@ -94,12 +94,6 @@
                // We shouldn't have to worry about 'remove', since by the time 
we have filtering,
                // orderedTopicIds should be gone.
 
-               // HACK: On load more, populate the board dm
-               flowBoard.on( 'loadmore', function ( topiclist ) {
-                       // Add to the DM board
-                       mw.flow.system.populateBoardTopicsFromJson( topiclist );
-               } );
-
                // Initialize the old system to accept the default
                // 'newest' order for the topic order widget
                // Get the current default sort

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I612c41de7449bb81809fa721346cc7e7c6b15fa7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Sbisson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to