mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 21:21:50 +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) {
|
$form.find(".table_name").each(function(index , tableName) {
|
||||||
if (tableName.value.length > 0) {
|
if (tableName.value.length > 0) {
|
||||||
tableNamesValidArray[index] = textValidator(ev, tableName, 1,
|
tableNamesValidArray[index] = textValidator(ev, tableName, 1,
|
||||||
gon.global.NAME_MAX_LENGTH);
|
<%= Constants::NAME_MAX_LENGTH %> );
|
||||||
} else {
|
} else {
|
||||||
tableNamesValidArray[index] = true;
|
tableNamesValidArray[index] = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue