The branch, master has been updated
via 8dee199672f16db79795ef208a85f6d93506c005 (commit)
from aa0d3cfc4a4859a2d6e5b2d8a03cdaa8d7a10bbf (commit)
- Log -----------------------------------------------------------------
commit 8dee199672f16db79795ef208a85f6d93506c005
Author: Marc Delisle <[email protected]>
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
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git