diff options
Diffstat (limited to 'srcs/phpmyadmin/js/transformations/sql_editor.js')
| -rw-r--r-- | srcs/phpmyadmin/js/transformations/sql_editor.js | 11 |
1 files changed, 11 insertions, 0 deletions
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'); + }); +}); |
