fixed bug #536623 - (NS 4.7) javascript textarea selection buggy thanks to Alexander M. Turek
This commit is contained in:
@@ -17,6 +17,9 @@ $Source$
|
||||
David Trajkovic <tdavid at ptt.yu>.
|
||||
* lang/greek.inc.php3: updated thanks to
|
||||
Kyriakos Xagoraris <theremon at users.sourceforge.net>.
|
||||
* db_details.php3, lines 558-559; tbl_properties.php3, lines 719-720:
|
||||
fixed bug #536623 - (NS 4.7) javascript textarea selection buggy thanks
|
||||
to the patch #538896 suggested by Alexander M. Turek (rabus).
|
||||
|
||||
2002-04-04 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lang/german.inc.php3 big update thanks to Alexander M. Turek (rabus)
|
||||
|
@@ -554,7 +554,9 @@ $is_upload = (PMA_PHP_INT_VERSION >= 40000 && function_exists('ini_get'))
|
||||
<input type="hidden" name="prev_sql_query" value="<?php echo ((!empty($query_to_display)) ? urlencode($query_to_display) : ''); ?>" />
|
||||
<?php echo sprintf($strRunSQLQuery, $db) . ' ' . PMA_showDocuShort('S/E/SELECT.html'); ?> :<br />
|
||||
<div style="margin-bottom: 5px">
|
||||
<textarea name="sql_query" cols="<?php echo $cfgTextareaCols; ?>" rows="<?php echo $cfgTextareaRows; ?>" wrap="virtual" onfocus="this.select()">
|
||||
<textarea name="sql_query" cols="<?php echo $cfgTextareaCols; ?>" rows="<?php echo $cfgTextareaRows; ?>" wrap="virtual"
|
||||
// rabus: workaround for NS4+
|
||||
onfocus="if (typeof(document.layers) == 'undefined' || typeof(textarea_selected) == 'undefined') {textarea_selected = 1; this.select();}">
|
||||
<?php echo ((!empty($query_to_display)) ? htmlspecialchars($query_to_display) : ''); ?>
|
||||
</textarea><br />
|
||||
<input type="checkbox" name="show_query" value="y" checked="checked" />
|
||||
|
@@ -715,7 +715,9 @@ $is_upload = (PMA_PHP_INT_VERSION >= 40000 && function_exists('ini_get'))
|
||||
<input type="hidden" name="prev_sql_query" value="<?php echo ((!empty($query_to_display)) ? urlencode($query_to_display) : ''); ?>" />
|
||||
<?php echo sprintf($strRunSQLQuery, htmlspecialchars($db)) . ' ' . PMA_showDocuShort('S/E/SELECT.html'); ?> :<br />
|
||||
<div style="margin-bottom: 5px">
|
||||
<textarea name="sql_query" rows="<?php echo $cfgTextareaRows; ?>" cols="<?php echo $cfgTextareaCols; ?>" wrap="virtual" onfocus="this.select()">
|
||||
<textarea name="sql_query" rows="<?php echo $cfgTextareaRows; ?>" cols="<?php echo $cfgTextareaCols; ?>" wrap="virtual"
|
||||
// rabus: workaround for NS4+
|
||||
onfocus="if (typeof(document.layers) == 'undefined' || typeof(textarea_selected) == 'undefined') {textarea_selected = 1; this.select();}">
|
||||
<?php echo ((!empty($query_to_display)) ? htmlspecialchars($query_to_display) : 'SELECT * FROM ' . PMA_backquote($table) . ' WHERE 1'); ?>
|
||||
</textarea><br />
|
||||
<input type="checkbox" name="show_query" value="y" checked="checked" />
|
||||
|
Reference in New Issue
Block a user