PageSourceSearch

https://aim-cloud.com/js/move_items.js

js aim-cloud.com collected 2026-10-08 01:45:30 UTC 1,853 bytes, 72 lines download raw bytes

1function copy(from, to, naam) {
2  fromList = eval('document.forms[0].' + from);
3  toList = eval('document.forms[0].' + to);
4  if (toList.options.length > 0 && toList.options[0].value == 'temp') {
5    toList.options.length = 0;
6  }
7  var sel = false;
8  for (i=0;i<fromList.options.length;i++) {
9    var current = fromList.options[i];
10    if (current.selected) {
11      sel = true;
12      txt = current.text;
13      val = current.value;
14      toList.options[toList.length] = new Option(txt,val);
15      
16    }
17  }
18  update_items(naam);
19}
20
21function move(from, to, naam) {
22  fromList = eval('document.forms[0].' + from);
23  toList = eval('document.forms[0].' + to);
24  if (toList.options.length > 0 && toList.options[0].value == 'temp')
25  {
26    toList.options.length = 0;
27  }
28  var sel = false;
29  for (i = 0; i < fromList.options.length; i++)
30  {
31    var current = fromList.options[i];
32    if (current.selected)
33    {
34      sel = true;
35      txt = current.text;
36      val = current.value;
37      toList.options[toList.length] = new Option(txt,val);
38      fromList.options[i] = null;
39      i--;
40    }
41  }
42  update_items(naam);
43}
44
45function delete_option(from, naam) {
46  fromList = eval('document.forms[0].' + from);
47  var sel = false;
48  for (i = 0; i < fromList.options.length; i++) {
49    var current = fromList.options[i];
50    if (current.selected) {
51      sel = true;
52	  fromList.options[i] = null;
53	  i--;
54    }
55  }
56  update_items(naam);
57}
58
59function update_items(naam) {
60    List = eval('document.forms[0].' + naam + '_naar');
61    naam_var = eval('document.forms[0].' + naam);
62
63	if (List.length && List.options[0].value == '') {
64		 return;
65	}
66	naam = '';
67	for (i=0;i<List.length;i++)	{
68		naam += List.options[i].value+'|';
69	}
70	naam = naam.substr(0, naam.length - 1);
71	naam_var.value = naam;
72}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.