mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 03:35:25 +08:00
fixed to not use gon gem
This commit is contained in:
parent
c6936bc71e
commit
16f9728a05
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@
|
|||
$form.find(".table_name").each(function(index , tableName) {
|
||||
if (tableName.value.length > 0) {
|
||||
tableNamesValidArray[index] = textValidator(ev, tableName, 1,
|
||||
gon.global.NAME_MAX_LENGTH);
|
||||
<%= Constants::NAME_MAX_LENGTH %> );
|
||||
} else {
|
||||
tableNamesValidArray[index] = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue