blob: dd38b7d40bcfcbcf04f13a47ea065030e5ef7193 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
function addNewRowOnHover() {
let btn = document.getElementById('newEntryBtn');
btn.innerText = 'Add new row';
}
function addNewRowOnEndHover() {
let btn = document.getElementById('newEntryBtn');
btn.innerText = '+';
}
function uploadFileOnHover() {
let btn = document.getElementById('uploadFileBtn');
btn.innerHTML = 'Upload File';
}
function uploadFileOnEndHover() {
let btn = document.getElementById('uploadFileBtn');
btn.innerHTML = uploadFileHtml;
}
function triggerUploadFile() {
let fileInput = document.getElementById('csvFileInput');
fileInput.click()
}
|