forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
68 lines (65 loc) · 2.22 KB
/
index.js
File metadata and controls
68 lines (65 loc) · 2.22 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import alpineInit from './alpineInit';
import focusFirstInput from './focusFirstInput';
import handleAddIpLists from './addIpLists';
import handleAutoTrimInputs from './autoTrimInputs';
import handleConfirmAction from './confirmAction';
import handleCopyCreds from './copyCreds';
import handleClipboardCopy from './clipboardCopy';
import handleCronGenerator from './cronGenerator';
import handleDatabaseHints from './databaseHints';
import handleDiscardAllMail from './discardAllMail';
import handleDnsRecordHint from './dnsRecordHint';
import handleDocRootHint from './docRootHint';
import handleEditWebListeners from './editWebListeners';
import handleErrorMessage from './errorHandler';
import handleFormSubmit from './formSubmit';
import handleFtpAccountHints from './ftpAccountHints';
import handleFtpAccounts from './ftpAccounts';
import handleIpListDataSource from './ipListDataSource';
import handleListSorting from './listSorting';
import handleListUnitSelect from './listUnitSelect';
import handleNameServerInput from './nameServerInput';
import handlePasswordInput from './passwordInput';
import handleShortcuts from './shortcuts';
import handleStickyToolbar from './stickyToolbar';
import handleSyncEmailValues from './syncEmailValues';
import handleTabPanels from './tabPanels';
import handleToggleAdvanced from './toggleAdvanced';
import handleUnlimitedInput from './unlimitedInput';
import initRrdCharts from './rrdCharts';
import initWebTerminal from './webTerminal';
initListeners();
focusFirstInput();
function initListeners() {
handleAddIpLists();
handleAutoTrimInputs();
handleConfirmAction();
handleCopyCreds();
handleClipboardCopy();
handleCronGenerator();
handleDiscardAllMail();
handleDnsRecordHint();
handleDocRootHint();
handleEditWebListeners();
handleFormSubmit();
handleFtpAccounts();
handleListSorting();
handleListUnitSelect();
handleNameServerInput();
handlePasswordInput();
handleStickyToolbar();
handleSyncEmailValues();
handleTabPanels();
handleToggleAdvanced();
initRrdCharts();
initWebTerminal();
}
document.addEventListener('alpine:init', () => {
alpineInit();
handleDatabaseHints();
handleErrorMessage();
handleFtpAccountHints();
handleIpListDataSource();
handleShortcuts();
handleUnlimitedInput();
});