From c491092c0c82cf277ecaad20912223faef77593f Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Wed, 12 Jun 2019 14:20:20 +0200 Subject: [PATCH] use for..in loop instead of for..of to increase compatibility --- .../main/resources/templates/repository-migration.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scm-webapp/src/main/resources/templates/repository-migration.mustache b/scm-webapp/src/main/resources/templates/repository-migration.mustache index 8b6c685fc6..9c76438667 100644 --- a/scm-webapp/src/main/resources/templates/repository-migration.mustache +++ b/scm-webapp/src/main/resources/templates/repository-migration.mustache @@ -93,8 +93,8 @@ var changeAllSelector = document.getElementById('changeAll'); changeAllSelector.onchange = function () { var strategySelects = document.getElementsByClassName('strategy-select'); - for (var strategySelect of strategySelects) { - strategySelect.value = changeAllSelector.value; + for (var index in strategySelects) { + strategySelects[index].value = changeAllSelector.value; } }; });