diff --git a/corehq/apps/hqwebapp/tests/data/bootstrap5_diffs/javascript/repeaters/js/repeat_record_report.js.diff.txt b/corehq/apps/hqwebapp/tests/data/bootstrap5_diffs/javascript/repeaters/js/repeat_record_report.js.diff.txt index 841576434146..9ddca3295408 100644 --- a/corehq/apps/hqwebapp/tests/data/bootstrap5_diffs/javascript/repeaters/js/repeat_record_report.js.diff.txt +++ b/corehq/apps/hqwebapp/tests/data/bootstrap5_diffs/javascript/repeaters/js/repeat_record_report.js.diff.txt @@ -8,15 +8,6 @@ const initialPageData = hqImport("hqwebapp/js/initial_page_data"), selectAll = document.getElementById('select-all'), selectPending = document.getElementById('select-pending'), -@@ -78,7 +78,7 @@ - } - if (contentType === 'text/xml') { - editor.session.setMode('ace/mode/xml'); -- } else if (['application/json', 'application/x-www-form-urlencoded'].includes(contentType)) { -+ } else if (contentType === 'application/json') { - editor.session.setMode('ace/mode/json'); - } - editor.session.setValue(data.payload); @@ -142,7 +142,7 @@ action = getAction(); let $btn; diff --git a/corehq/motech/repeaters/static/repeaters/js/bootstrap5/repeat_record_report.js b/corehq/motech/repeaters/static/repeaters/js/bootstrap5/repeat_record_report.js index 7941bff485d6..12bdc51f5dff 100644 --- a/corehq/motech/repeaters/static/repeaters/js/bootstrap5/repeat_record_report.js +++ b/corehq/motech/repeaters/static/repeaters/js/bootstrap5/repeat_record_report.js @@ -78,7 +78,7 @@ hqDefine('repeaters/js/bootstrap5/repeat_record_report', function () { } if (contentType === 'text/xml') { editor.session.setMode('ace/mode/xml'); - } else if (contentType === 'application/json') { + } else if (['application/json', 'application/x-www-form-urlencoded'].includes(contentType)) { editor.session.setMode('ace/mode/json'); } editor.session.setValue(data.payload);