The branch, master has been updated via 8dee199672f16db79795ef208a85f6d93506c005 (commit) from aa0d3cfc4a4859a2d6e5b2d8a03cdaa8d7a10bbf (commit)
- Log ----------------------------------------------------------------- commit 8dee199672f16db79795ef208a85f6d93506c005 Author: Marc Delisle marc@infomarc.info Date: Sun Feb 20 07:48:06 2011 -0500
Validate missing table name on table creation
-----------------------------------------------------------------------
Summary of changes: js/functions.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/js/functions.js b/js/functions.js index 28e89f0..328c558 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
hooks/post-receive