@@ -3406,6 +3407,15 @@
// ###BEGIN###{ComputerSelector-Local}
function addComputer() {
if (xxdialogMode) return;
+
+ // Build the list of groups
+ var groups = [], x = '';
+ for (var y in computerlist) { var computer = computerlist[y]; if ((computer.tags != null) && (computer.tags != '') && (groups.indexOf(computer.tags) == -1) && (computer.tags.indexOf('"') == -1)) { groups.push(computer.tags); } }
+ groups.sort(function (a, b) { return a.toLowerCase().localeCompare(b.toLowerCase()); });
+ for (var y in groups) { x += '