diff --git a/js/functions.js b/js/functions.js index 28e89f087..328c5581f 100644 --- a/js/functions.js +++ b/js/functions.js @@ -831,6 +831,14 @@ function checkTableEditForm(theForm, fieldsCnt) return false; } + // at least this section is under jQuery + if ($("input.textfield[name='table']").val() == "") { + alert(PMA_messages['strFormEmpty']); + $("input.textfield[name='table']").focus(); + return false; + } + + return true; } // enf of the 'checkTableEditForm()' function