Compare commits
No commits in common. "master" and "AFLOW-31-login-auth-and-permission-support" have entirely different histories.
master
...
AFLOW-31-l
@ -23,7 +23,7 @@
|
||||
"@sentry/tracing": "^7.52.1",
|
||||
"body-parser": "^1.20.2",
|
||||
"bootstrap": "^5.3.0-alpha3",
|
||||
"bootstrap-icons": "^1.11.0",
|
||||
"bootstrap-icons": "^1.10.5",
|
||||
"bootstrap-table": "^1.22.1",
|
||||
"csv": "^6.2.11",
|
||||
"eta": "^2.0.1",
|
||||
|
@ -3,7 +3,6 @@ function randomInRange(min, max) {
|
||||
}
|
||||
|
||||
function doTheConfetti() {
|
||||
// Create confetti
|
||||
confetti({
|
||||
angle: randomInRange(90, 110),
|
||||
spread: randomInRange(70, 120),
|
||||
|
@ -8,16 +8,6 @@ function primeCreateNew() {
|
||||
return true;
|
||||
}
|
||||
|
||||
function triggerDuplicationDialog(sourceItemId) {
|
||||
// Clear the form
|
||||
$('.form-control').val('');
|
||||
const form = document.getElementById('ItemModalForm');
|
||||
document.getElementById('itemModifyModalLabel').innerText= "Duplicate an item";
|
||||
form.setAttribute('method', 'POST');
|
||||
getDataForEdit(sourceItemId);
|
||||
return true;
|
||||
}
|
||||
|
||||
function primeEdit() {
|
||||
const form = document.getElementById('ItemModalForm');
|
||||
document.getElementById('itemModifyModalLabel').innerText = 'Edit an item';
|
||||
|
@ -49,9 +49,6 @@ function dataResponseHandler(json) {
|
||||
<button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#itemModifyModal" onclick="primeEdit(); getDataForEdit('${item.id}')">
|
||||
<i class="bi bi-pencil"></i>
|
||||
</button>
|
||||
<button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#itemModifyModal" onclick="triggerDuplicationDialog('${item.id}')">
|
||||
<i class="bi bi-copy"></i>
|
||||
</button>
|
||||
<button class="btn btn-danger" onclick="preFillDeleteModalNxt('${item.id}','items','Item')" data-bs-toggle="modal" data-bs-target="#staticBackdrop">
|
||||
<i class="bi bi-trash"></i>
|
||||
</button>`
|
||||
|
Loading…
Reference in New Issue
Block a user