This file is indexed.

/usr/share/GNUstep/SOGo/WebServerResources/UIxOccurenceDialog.js is in sogo-common 2.2.17a-1.1build1.

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
41
42
43
44
45
46
47
48
/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */

function onCancelButtonClick(event) {
    window.close();
}

function onThisButtonClick(event) {
    if (action == 'edit')
        window.opener.performEventEdition(calendarFolder, componentName,
                                          recurrenceName);
    else if (action == 'delete')
        window.opener.performEventDeletion(calendarFolder, componentName,
                                           recurrenceName);
    else if (action == 'adjust')
        window.opener.performEventAdjustment(calendarFolder, componentName,
                                             recurrenceName, queryParameters);
    else
        window.alert("Invalid action: " + action);

    window.close();
}

function onAllButtonClick(event) {
    if (action == 'edit')
        window.opener.performEventEdition(calendarFolder, componentName);
    else if (action == 'delete')
        window.opener.performEventDeletion(calendarFolder, componentName);
    else if (action == 'adjust')
        window.opener.performEventAdjustment(calendarFolder, componentName,
                                             null, queryParameters);
    else
        window.alert("Invalid action: " + action);

    window.close();
}

function onOccurenceDialogLoad() {
    var thisButton = $("thisButton");
    thisButton.observe("click", onThisButtonClick);

    var allButton = $("allButton");
    allButton.observe("click", onAllButtonClick);

    var cancelButton = $("cancelButton");
    cancelButton.observe("click", onCancelButtonClick);
}

document.observe("dom:loaded", onOccurenceDialogLoad);