This file is indexed.

/usr/share/pyshared/customfieldadmin/htdocs/js/customfieldadmin.js is in trac-customfieldadmin 0.2.6+r10460-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**********
* User Interface function for Trac Custom Field Admin plugin.
* License: BSD
* (c) 2007-2009 ::: www.Optaros.com (cbalan@optaros.com)
**********/
(function($){
    function toggle_options(type_element){
        function label(property){ return $(property).parents('div.field')}
        switch (type_element.selectedIndex) {
            case 0: // text
                label('#options, #cols, #rows').hide();
                label('#format').show();
                break;
            case 1: // select
                label('#options').show();
                label('#cols, #rows, #format').hide();
                break;
            case 2: // checkbox
                label('#options, #cols, #rows, #format').hide();
                break;
            case 3: // radio
                label('#options').show();
                label('#cols, #rows, #format').hide();
                break;      
            case 4: // textarea
                label('#options').hide();
                label('#cols, #rows, #format').show();
                break;
        }
    }
    
    $(document).ready(function(){
        $('#type').each(function(){
            toggle_options(this);
            $(this).change(function(){
                toggle_options(this);
            });
        });
    });
})(jQuery);