Skip to content
Browse files

Include keyhandler.js globally

  • Loading branch information...
1 parent 7db8605 commit e48679885047efe938f143301e02209adbffee2b @roccivic roccivic committed with lem9 Feb 3, 2013
Showing with 1 addition and 10 deletions.
  1. +1 −0 libraries/Header.class.php
  2. +0 −1 tbl_change.php
  3. +0 −9 tbl_create.php
View
1 libraries/Header.class.php
@@ -148,6 +148,7 @@ private function _addDefaultScripts()
{
$this->_scripts->addFile('jquery/jquery-1.8.3.js');
$this->_scripts->addFile('ajax.js');
+ $this->_scripts->addFile('keyhandler.js');
$this->_scripts->addFile('jquery/jquery-ui-1.9.2.custom.js');
$this->_scripts->addFile('jquery/jquery.sprintf.js');
$this->_scripts->addFile('jquery/jquery.cookie.js');
View
1 tbl_change.php
@@ -114,7 +114,6 @@
$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');
View
9 tbl_create.php
@@ -13,15 +13,6 @@
$titles = PMA_Util::buildActionTitles();
-/**
- * Load JavaScript files
- */
-$response = PMA_Response::getInstance();
-$header = $response->getHeader();
-$scripts = $header->getScripts();
-$scripts->addFile('keyhandler.js');
-
-
// Check parameters
PMA_Util::checkParameters(array('db'));

0 comments on commit e486798

Please sign in to comment.
Something went wrong with that request. Please try again.