From 9f9e6937cad1e6c7e9889de3e62fb20bd8c51836 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Tue, 18 Nov 2014 12:56:09 +0530 Subject: [PATCH] #4599 Input field unnecessarily selected on focus Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + libraries/operations.lib.php | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0597bff33e..03e8aad79e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ phpMyAdmin - ChangeLog - bug #4584 Edit dialog for routines is too long for smaller displays - bug #4586 Javascript error after moving a column - bug #4576 Issue with long comments on table columns +- bug #4599 Input field unnecessarily selected on focus 4.2.11.0 (2014-10-31) - bug ReferenceError: Table_onover is not defined diff --git a/libraries/operations.lib.php b/libraries/operations.lib.php index d4df2cd58a..28752907ce 100644 --- a/libraries/operations.lib.php +++ b/libraries/operations.lib.php @@ -686,7 +686,7 @@ function PMA_getHtmlForMoveTable() } $html_output .= ' . '; $html_output .= '
'; // starting with MySQL 5.0.24, SHOW CREATE TABLE includes the AUTO_INCREMENT @@ -789,7 +789,7 @@ function PMA_getTableOptionFieldset($comment, $tbl_collation, //Change table name $html_output .= '' . __('Rename table to') . '' . '' - . '' . '' @@ -798,7 +798,7 @@ function PMA_getTableOptionFieldset($comment, $tbl_collation, //Table comments $html_output .= '' . __('Table comments') . '' . '' + . 'value="' . htmlspecialchars($comment) . '" />' . '' . '' @@ -1018,7 +1018,7 @@ function PMA_getHtmlForCopytable() } $html_output .= ' . '; $html_output .= '
'; $choices = array(