diff options
author | Marc Delisle <marc@infomarc.info> | 2013-01-31 17:06:12 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2013-01-31 17:06:12 +0400 |
commit | 63187a2989b99f572306fea53aaf97d56a504f4c (patch) | |
tree | ae469bbacd4f8643d4bea591024c1b74d42e5b86 /tbl_change.php | |
parent | 5a4e021c1357f80b8e6f6af4d4c4e4bd8bdca59a (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.php | 6 |
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); |