From 86165fba701750bc1dae79ffcba4e1a1fb783285 Mon Sep 17 00:00:00 2001 From: Ryan Slominski Date: Mon, 15 Jun 2026 17:36:38 -0400 Subject: [PATCH 1/3] Apply suggested fix to src/main/webapp/resources/js/directory.js from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/main/webapp/resources/js/directory.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/resources/js/directory.js b/src/main/webapp/resources/js/directory.js index b16a1ad..b90827b 100644 --- a/src/main/webapp/resources/js/directory.js +++ b/src/main/webapp/resources/js/directory.js @@ -169,14 +169,15 @@ $(document).on("dialogclose", "#table-row-dialog", function() { $("#row-repo").removeAttr("disabled"); }); $(document).on("click", "#open-edit-row-dialog-button", function() { - var $selectedRow = $(".editable-row-table tr.selected-row"); + var $selectedRow = $(".editable-row-table tr.selected-row"), + topicCsv = $selectedRow.attr("data-topic-csv") || ""; $("#row-name").val($selectedRow.attr("data-name")); $("#row-type").val($selectedRow.attr("data-type")); $("#row-description").val($selectedRow.attr("data-description")); $("#row-note").val($selectedRow.attr("data-note")); $("#row-maintainers").val($selectedRow.attr("data-maintainer-csv")); $("#row-repo").val($selectedRow.attr("data-repo-id")); - $("#row-topics").val($selectedRow.attr("data-topic-csv").split(",")).trigger('change'); + $("#row-topics").val(topicCsv.split(",")).trigger('change'); $("#row-url").val($selectedRow.attr("data-url")); $("#row-archived").val($selectedRow.attr("data-archived")); From e1203f4aaecf2db431215fa2ed251f0303869770 Mon Sep 17 00:00:00 2001 From: Ryan Slominski Date: Mon, 15 Jun 2026 17:36:38 -0400 Subject: [PATCH 2/3] Apply suggested fix to src/main/webapp/resources/js/directory.js from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/main/webapp/resources/js/directory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/resources/js/directory.js b/src/main/webapp/resources/js/directory.js index b90827b..1fcb280 100644 --- a/src/main/webapp/resources/js/directory.js +++ b/src/main/webapp/resources/js/directory.js @@ -151,7 +151,7 @@ jlab.removeRow = function() { request.fail(function(xhr, textStatus) { window.console && console.log('Unable to remove software; Text Status: ' + textStatus + ', Ready State: ' + xhr.readyState + ', HTTP Status Code: ' + xhr.status); - alert('Unable to Remove Server unavailable or unresponsive'); + alert('Unable to Remove: Server unavailable or unresponsive'); }); request.always(function() { From 69d77bfdcc27dd6c9cd6a85a852b06cbe3ca73bf Mon Sep 17 00:00:00 2001 From: Ryan Slominski Date: Mon, 15 Jun 2026 17:36:39 -0400 Subject: [PATCH 3/3] Apply suggested fix to src/main/webapp/resources/js/directory.js from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/main/webapp/resources/js/directory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/resources/js/directory.js b/src/main/webapp/resources/js/directory.js index 1fcb280..869cc77 100644 --- a/src/main/webapp/resources/js/directory.js +++ b/src/main/webapp/resources/js/directory.js @@ -61,7 +61,7 @@ jlab.addRow = function() { } }); }; -jlab.editRow = function(removeSync) { +jlab.editRow = function() { var softwareId = $(".editable-row-table tr.selected-row").attr("data-id"), name = $("#row-name").val(), type = $("#row-type").val(),