diff --git a/ChangeLog b/ChangeLog index 83861770f..37e91a965 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ $Source$ 2003-01-16 Michal Cihar * lang/czech: Updated. + * libraries/tbl_change.js, tbl_change.php3: Improved Ctrl+arrows moving in + field editing. 2003-01-15 Robin Johnson * lang/sort_lang.sh: Fix status output bug '\n' diff --git a/libraries/tbl_change.js b/libraries/tbl_change.js index cc4798254..bd924b06a 100644 --- a/libraries/tbl_change.js +++ b/libraries/tbl_change.js @@ -90,6 +90,10 @@ function onKeyDownArrowsHandler(e) { var id = "field_" + y + "_" + x; var nO = document.getElementById(id); + if (!nO) { + var id = "field_" + y + "_" + x + "_0"; + var nO = document.getElementById(id); + } if (nO) break; } diff --git a/tbl_change.php3 b/tbl_change.php3 index 4d99bf5f4..6337499ef 100755 --- a/tbl_change.php3 +++ b/tbl_change.php3 @@ -389,7 +389,7 @@ for ($i = 0; $i < $fields_cnt; $i++) { - ="return unNullify('')" tabindex="" id="field__3"> - 20) { echo "\n"; ?> - ="return unNullify('')" tabindex="" id="field__3"> ' . "\n"; - echo ' ' . "\n"; + echo ' ' . "\n"; } // end for } // end else @@ -496,7 +495,7 @@ for ($i = 0; $i < $fields_cnt; $i++) { - ="return unNullify('')" tabindex="" id="field__3"> - - ="return unNullify('')" tabindex="" id="field__2" /> + ="return unNullify('')" tabindex="" id="field__3" /> - - ="return unNullify('')" tabindex="" id="field__2" /> + ="return unNullify('')" tabindex="" id="field__3" />