[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_0BETA3-828-g8dee199
Marc Delisle
lem9 at users.sourceforge.net
Sun Feb 20 13:48:15 CET 2011
The branch, master has been updated
via 8dee199672f16db79795ef208a85f6d93506c005 (commit)
from aa0d3cfc4a4859a2d6e5b2d8a03cdaa8d7a10bbf (commit)
- Log -----------------------------------------------------------------
commit 8dee199672f16db79795ef208a85f6d93506c005
Author: Marc Delisle <marc at 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
--
phpMyAdmin
More information about the Git
mailing list