The branch, QA_3_3 has been updated
via 04c2f9d25444479ca4ddcbe83f58a06c13572fa4 (commit)
from d42dab9dd48e337f9b4e8f59f16e04db908ce5e8 (commit)
- Log -----------------------------------------------------------------
commit 04c2f9d25444479ca4ddcbe83f58a06c13572fa4
Author: Marc Delisle <marc(a)infomarc.info>
Date: Sat Aug 7 06:27:04 2010 -0400
bug #3040226 [XHTML] LockFromUpdate checkbox not checked by default
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 1 +
libraries/sql_query_form.lib.php | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ab33f1f..502463d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@ $HeadURL:
https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #3036132 [core] Triggers not fetched if dbname has an hyphen
- patch #3039269 [dbi] Wrong variable checked for nopassword option,
thanks to Will Palmer - wpalmer
+- bug #3040226 [XHTML] LockFromUpdate checkbox not checked by default
3.3.5.0 (2010-07-26)
- patch #2932113 [information_schema] Slow export when having lots of
diff --git a/libraries/sql_query_form.lib.php b/libraries/sql_query_form.lib.php
index 97a15e3..5286d17 100644
--- a/libraries/sql_query_form.lib.php
+++ b/libraries/sql_query_form.lib.php
@@ -364,7 +364,7 @@ function PMA_sqlQueryFormInsert($query = '', $is_querywindow =
false, $delimiter
?>
<script type="text/javascript">
//<![CDATA[
- document.writeln(' <input type="checkbox"
name="LockFromUpdate" value="1" id="checkbox_lock" />
<label for="checkbox_lock"><?php echo
$GLOBALS['strQueryWindowLock']; ?></label> ');
+ document.writeln(' <input type="checkbox"
name="LockFromUpdate" checked="checked" id="checkbox_lock"
/> <label for="checkbox_lock"><?php echo
$GLOBALS['strQueryWindowLock']; ?></label> ');
//]]>
</script>
<?php
hooks/post-receive
--
phpMyAdmin