Phoenix303 has uploaded a new change for review. https://gerrit.wikimedia.org/r/225676
Change subject: Remove empty rows from the group list ...................................................................... Remove empty rows from the group list Change-Id: I321a2b921222f1b32c97a19a77b3e77aa3793d10 Followup-Id: Iaaa42ddc6255343d3a93a3e2a779a1b314f446b0 --- M resources/js/ext.translate.special.searchtranslations.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate refs/changes/76/225676/1 diff --git a/resources/js/ext.translate.special.searchtranslations.js b/resources/js/ext.translate.special.searchtranslations.js index 80db2d4..36cb4a8 100644 --- a/resources/js/ext.translate.special.searchtranslations.js +++ b/resources/js/ext.translate.special.searchtranslations.js @@ -202,7 +202,7 @@ groupList = groupList.concat( grouppath ); } groupList.sort( sortGroups ); - for ( i = 0; i <= groupList.length; i++ ) { + for ( i = 0; i < groupList.length; i++ ) { groupId = groupList[i]; group = mw.translate.findGroup( groupId, resultGroups ); if ( !group ) { -- To view, visit https://gerrit.wikimedia.org/r/225676 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I321a2b921222f1b32c97a19a77b3e77aa3793d10 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Phoenix303 <divyalife...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits