From 34c62bc9243c85185b252714cbf59a8f6dc1489b Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Thu, 14 Nov 2024 09:42:35 -0800 Subject: [PATCH] Remove unused script --- .../matrix/LabelAxis/label-axis-resources.js | 41 ------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/main/resources/hudson/matrix/LabelAxis/label-axis-resources.js diff --git a/src/main/resources/hudson/matrix/LabelAxis/label-axis-resources.js b/src/main/resources/hudson/matrix/LabelAxis/label-axis-resources.js deleted file mode 100644 index 5c4f2a55..00000000 --- a/src/main/resources/hudson/matrix/LabelAxis/label-axis-resources.js +++ /dev/null @@ -1,41 +0,0 @@ -Behaviour.specify("DIV.labelAxis-tree", 'LabelAxis', 0, function(e) { - var tree = new YAHOO.widget.TreeView(e); - - var i18nContainer = document.querySelector(".label-axis-i18n"); - var labels = new YAHOO.widget.TextNode(i18nContainer.getAttribute("data-i18n-labels"), tree.getRoot(), false); - var machines = new YAHOO.widget.TextNode(i18nContainer.getAttribute("data-i18n-individual-nodes"), tree.getRoot(), false); - - var values = (e.getAttribute("values") || "").split("/"); - function has(v) { - return values.includes(v) ? 'checked="checked" ' : ""; - } - - var labelAxisDataContainer = document.querySelector(".label-axis-data-container"); - labelAxisDataContainer.childNodes.forEach(node => { - var labelCheckbox = node.getAttribute("data-label-checkbox"); - - var CHECKED_ATTR_INSERT_IDX = "