UI: fixes based on Actionable Feedback from devtalk and frontend changes #40
@ -38,10 +38,15 @@ function appendImageUploadForm() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
formRow.classList.add('ext-edit-field-row', 'js-ext-edit-field-row');
|
formRow.classList.add('ext-edit-field-row', 'fade', 'js-ext-edit-field-row');
|
||||||
formRow.innerHTML = newFormHTML;
|
formRow.innerHTML = newFormHTML;
|
||||||
formsetContainer.appendChild(formRow);
|
formsetContainer.appendChild(formRow);
|
||||||
inputTotalForms.value = parseInt(inputTotalForms.value) + 1;
|
inputTotalForms.value = parseInt(inputTotalForms.value) + 1;
|
||||||
|
|
||||||
|
setTimeout(function() {
|
||||||
|
// TODO: fix jump coming from grid gap on parent
|
||||||
|
formRow.classList.add('show');
|
||||||
|
}, 20);
|
||||||
}
|
}
|
||||||
|
|
||||||
btnAddImage.addEventListener('click', function(ev) {
|
btnAddImage.addEventListener('click', function(ev) {
|
||||||
|
Loading…
Reference in New Issue
Block a user