Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2013-01-31 17:06:12 +0400
committerMarc Delisle <marc@infomarc.info>2013-01-31 17:06:12 +0400
commit63187a2989b99f572306fea53aaf97d56a504f4c (patch)
treeae469bbacd4f8643d4bea591024c1b74d42e5b86 /tbl_change.php
parent5a4e021c1357f80b8e6f6af4d4c4e4bd8bdca59a (diff)
Attempt to fix bug #3787; works for table creation but not for editing a
row
Diffstat (limited to 'tbl_change.php')
-rw-r--r--tbl_change.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/tbl_change.php b/tbl_change.php
index 4962dd1fea..8e4ae0638c 100644
--- a/tbl_change.php
+++ b/tbl_change.php
@@ -114,6 +114,7 @@ $header = $response->getHeader();
$scripts = $header->getScripts();
$scripts->addFile('functions.js');
$scripts->addFile('tbl_change.js');
+$scripts->addFile('keyhandler.js');
$scripts->addFile('jquery/jquery-ui-timepicker-addon.js');
$scripts->addFile('gis_data_editor.js');
@@ -196,11 +197,6 @@ $chg_evt_handler = (PMA_USR_BROWSER_AGENT == 'IE'
// some browsers send wrongly this form to the http server.
$html_output = '';
-//Set on key handler for moving using by Ctrl+arrows
-$html_output .= '<script src="js/keyhandler.js" type="text/javascript"></script>'
- . '<script type="text/javascript">'
- . 'document.onkeydown = onKeyDownArrowsHandler;'
- . '</script>';
// Set if we passed the first timestamp field
$timestamp_seen = false;
$columns_cnt = count($table_fields);