Permalink
Browse files

Moved all the JS functionality for RTE into a single file

  • Loading branch information...
1 parent c2df671 commit 69bf1289362b8719b6a7614cfffcd1eb5ead0f32 @roccivic roccivic committed Jul 14, 2012
Showing with 901 additions and 87 deletions.
  1. +0 −10 db_events.php
  2. +0 −10 db_routines.php
  3. +0 −9 db_triggers.php
  4. +896 −0 js/rte.js
  5. +0 −50 js/rte/events.js
  6. +0 −8 js/rte/triggers.js
  7. +5 −0 libraries/Header.class.php
View
@@ -13,16 +13,6 @@
require_once 'libraries/Util.class.php';
/**
- * Include JavaScript libraries
- */
-$response = PMA_Response::getInstance();
-$header = $response->getHeader();
-$scripts = $header->getScripts();
-$scripts->addFile('jquery/timepicker.js');
-$scripts->addFile('rte/common.js');
-$scripts->addFile('rte/events.js');
-
-/**
* Include all other files
*/
require_once 'libraries/rte/rte_events.lib.php';
View
@@ -14,16 +14,6 @@
require_once 'libraries/mysql_charsets.lib.php';
/**
- * Include JavaScript libraries
- */
-$response = PMA_Response::getInstance();
-$header = $response->getHeader();
-$scripts = $header->getScripts();
-$scripts->addFile('jquery/timepicker.js');
-$scripts->addFile('rte/common.js');
-$scripts->addFile('rte/routines.js');
-
-/**
* Include all other files
*/
require_once 'libraries/rte/rte_routines.lib.php';
View
@@ -12,15 +12,6 @@
require_once 'libraries/common.inc.php';
/**
- * Include JavaScript libraries
- */
-$response = PMA_Response::getInstance();
-$header = $response->getHeader();
-$scripts = $header->getScripts();
-$scripts->addFile('rte/common.js');
-$scripts->addFile('rte/triggers.js');
-
-/**
* Include all other files
*/
require_once 'libraries/rte/rte_triggers.lib.php';
Oops, something went wrong.

0 comments on commit 69bf128

Please sign in to comment.