bug #3400690 [privileges] DB-specific privileges won't submit

Db/table specific privileges has not been ajaxified. So skip it for now.
This commit is contained in:
Madhura Jayaratne
2011-09-14 22:43:48 +05:30
parent e27ba519c5
commit d3bd40b56d
3 changed files with 3 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ phpMyAdmin - ChangeLog
- bug #3404886 [navi] Edit SQL statement after error
- bug #3403165 [interface] Collation not displayed for long enum fields
- bug #3399951 [export] Config for export compression not used
- bug #3400690 [privileges] DB-specific privileges won't submit
3.4.5.0 (2011-09-14)
- bug #3375325 [interface] Page list in navigation frame looks odd

View File

@@ -346,7 +346,7 @@ $(document).ready(function() {
* @memberOf jQuery
* @name edit_user_submit
*/
$("#edit_user_dialog").find("form").live('submit', function(event) {
$("#edit_user_dialog").find("form:not(#db_or_table_specific_priv)").live('submit', function(event) {
/** @lends jQuery */
event.preventDefault();

View File

@@ -1790,7 +1790,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
// but only if $dbname contains no wildcards
// table header
echo '<form action="server_privileges.php" method="post">' . "\n"
echo '<form action="server_privileges.php" id="db_or_table_specific_priv" method="post">' . "\n"
. PMA_generate_common_hidden_inputs('', '')
. '<input type="hidden" name="username" value="' . htmlspecialchars($username) . '" />' . "\n"
. '<input type="hidden" name="hostname" value="' . htmlspecialchars($hostname) . '" />' . "\n"