Lines 188-196
Link Here
|
188 |
fetchBatch(); |
188 |
fetchBatch(); |
189 |
isUpdate = true; |
189 |
isUpdate = true; |
190 |
setModalHeading(); |
190 |
setModalHeading(); |
|
|
191 |
createButton.style.display = "none"; |
191 |
} else { |
192 |
} else { |
192 |
batch.data = emptyBatch; |
193 |
batch.data = emptyBatch; |
193 |
setModalHeading(); |
194 |
setModalHeading(); |
|
|
195 |
finishButton.style.display = "none"; |
194 |
} |
196 |
} |
195 |
fetchStatuses(); |
197 |
fetchStatuses(); |
196 |
finishButtonEventListener(); |
198 |
finishButtonEventListener(); |
Lines 202-209
Link Here
|
202 |
} |
204 |
} |
203 |
|
205 |
|
204 |
function initPostCreate() { |
206 |
function initPostCreate() { |
205 |
disableCreateButton(); |
207 |
hideCreateButton(); |
206 |
cancelButton.innerHTML = ill_batch_create_cancel_button; |
208 |
cancelButton.innerHTML = ill_batch_create_cancel_button; |
|
|
209 |
finishButton.style.display = "block"; |
207 |
} |
210 |
} |
208 |
|
211 |
|
209 |
function setFinishButton() { |
212 |
function setFinishButton() { |
Lines 760-768
Link Here
|
760 |
processButton.setAttribute("aria-disabled", true); |
763 |
processButton.setAttribute("aria-disabled", true); |
761 |
} |
764 |
} |
762 |
|
765 |
|
763 |
function disableCreateButton() { |
766 |
function hideCreateButton() { |
764 |
createButton.setAttribute("disabled", true); |
767 |
createButton.remove(); |
765 |
createButton.setAttribute("aria-disabled", true); |
|
|
766 |
} |
768 |
} |
767 |
|
769 |
|
768 |
async function populateMetadata(identifier) { |
770 |
async function populateMetadata(identifier) { |
769 |
- |
|
|