From 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 9 Jan 2020 10:55:03 +0100 Subject: phpmyadmin working --- srcs/phpmyadmin/js/transformations/sql_editor.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcs/phpmyadmin/js/transformations/sql_editor.js (limited to 'srcs/phpmyadmin/js/transformations/sql_editor.js') diff --git a/srcs/phpmyadmin/js/transformations/sql_editor.js b/srcs/phpmyadmin/js/transformations/sql_editor.js new file mode 100644 index 0000000..18139f3 --- /dev/null +++ b/srcs/phpmyadmin/js/transformations/sql_editor.js @@ -0,0 +1,11 @@ +/* vim: set expandtab sw=4 ts=4 sts=4: */ +/** + * SQL syntax highlighting transformation plugin js + * + * @package PhpMyAdmin + */ +AJAX.registerOnload('transformations/sql_editor.js', function () { + $('textarea.transform_sql_editor').each(function () { + Functions.getSqlEditor($(this), {}, 'both'); + }); +}); -- cgit