feat: standardize admin form limits and guidance

This commit is contained in:
Tống Thành Đạt
2026-04-10 15:55:15 +07:00
parent 7ce5921fe0
commit 51c6303437
34 changed files with 1692 additions and 361 deletions

View File

@@ -2000,13 +2000,13 @@
}
if (window.toastManager) window.toastManager.success('Upload thành công');
if (window.toastManager) window.toastManager.success('Upload completed successfully');
} else {
if (window.toastManager) window.toastManager.success('Upload thành công');
if (window.toastManager) window.toastManager.success('Upload completed successfully');
}
} catch (err) {
console.error('Upload error', err);
if (window.toastManager) window.toastManager.error('Lỗi upload: ' + (err.message ||
if (window.toastManager) window.toastManager.error('Upload error: ' + (err.message ||
err));
}
});
@@ -2015,7 +2015,7 @@
fileInput.click();
} catch (err) {
console.error('openImageUploader error', err);
if (window.toastManager) window.toastManager.error('Lỗi: ' + (err.message || err));
if (window.toastManager) window.toastManager.error('Error: ' + (err.message || err));
}
}
@@ -2031,4 +2031,4 @@
}
openImageUploader(targetInput, imageType);
});
</script>
</script>