mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-10 17:39:38 +08:00
Fixed the issue, tested all 3 scenarios
This commit is contained in:
parent
fcf947e29b
commit
67f4555584
1 changed files with 5 additions and 1 deletions
|
@ -545,11 +545,15 @@
|
|||
var $tinyMCEInput = TinyMCE.getContent();
|
||||
var descriptionValid = textValidator(ev, $descrTextarea, 0,
|
||||
<%= Constants::TEXT_MAX_LENGTH %>, false, $tinyMCEInput);
|
||||
var $table_names = $form.find(".table_name");
|
||||
var table_nameValid = textValidator(ev, $table_names, 1,
|
||||
<%= Constants::NAME_MAX_LENGTH %>);
|
||||
|
||||
if (DragNDropSteps.filesStatus() &&
|
||||
checklistsValid &&
|
||||
nameValid &&
|
||||
descriptionValid) {
|
||||
descriptionValid &&
|
||||
table_nameValid ) {
|
||||
|
||||
$form.find("[data-role='editable-table']").each(function() {
|
||||
var hot = $(this).find(".hot").handsontable('getInstance');
|
||||
|
|
Loading…
Reference in a new issue