mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
1b34de37ef
CSP and inline js refactor [SCI-8118][SCI-8119]
4 lines
155 B
JavaScript
4 lines
155 B
JavaScript
(function() {
|
|
const formErrors = JSON.parse($('#form-error-data').data('form-errors'));
|
|
$('form').render_form_errors('team', formErrors, false);
|
|
}());
|