mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Server Versions Ordered by Descending
This commit is contained in:
parent
126964dc30
commit
133e7cf291
@ -308,8 +308,8 @@
|
||||
cSelect.remove(0);
|
||||
}
|
||||
var newOption;
|
||||
// create new options
|
||||
for (var i=0; i<cList.length; i++) {
|
||||
// create new options ordered by descending
|
||||
for (var i=(cList.length)-1; i>=0; i--) {
|
||||
newOption = document.createElement("option");
|
||||
newOption.value = which+"|"+cList[i]; // assumes option string and value are the same
|
||||
newOption.text=cList[i];
|
||||
|
Loading…
Reference in New Issue
Block a user