Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add Codemirror to tbl_replace (SQL box after inserting rows)

  • Loading branch information...
commit 05699a7ac473d9cada3ea813463ab025c3432498 1 parent 230e447
Jo Michael authored

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. +5 0 tbl_replace.php
5 tbl_replace.php
@@ -30,6 +30,11 @@
30 30 // Needed for generation of Inline Edit anchors
31 31 $GLOBALS['js_include'][] = 'sql.js';
32 32
  33 +if ($GLOBALS['cfg']['CodemirrorEnable']) {
  34 + $GLOBALS['js_include'][] = 'codemirror/lib/codemirror.js';
  35 + $GLOBALS['js_include'][] = 'codemirror/mode/mysql/mysql.js';
  36 +}
  37 +
33 38 if (isset($_REQUEST['insert_rows'])
34 39 && is_numeric($_REQUEST['insert_rows'])
35 40 && $_REQUEST['insert_rows'] != $cfg['InsertRows']

0 comments on commit 05699a7

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