mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
hide error message
This commit is contained in:
@ -780,7 +780,7 @@ function handleModalForm(url, options) {
|
||||
modalSetTitle(modal, response.title);
|
||||
}
|
||||
|
||||
if (response.hideErrorMessage || !options.hideErrorMessage) {
|
||||
if (!response.hideErrorMessage && !options.hideErrorMessage) {
|
||||
var warningDiv = $(modal).find('#form-validation-warning');
|
||||
warningDiv.css('display', 'block');
|
||||
}
|
||||
|
Reference in New Issue
Block a user