fixed to not use gon gem

This commit is contained in:
Zanz2 2018-09-28 14:26:05 +02:00
parent c6936bc71e
commit 16f9728a05

View file

@ -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;
}