Add Codemirror to tbl_replace (SQL box after inserting rows)
This commit is contained in:
parent
230e447887
commit
05699a7ac4
@ -30,6 +30,11 @@ $GLOBALS['js_include'][] = 'makegrid.js';
|
||||
// Needed for generation of Inline Edit anchors
|
||||
$GLOBALS['js_include'][] = 'sql.js';
|
||||
|
||||
if ($GLOBALS['cfg']['CodemirrorEnable']) {
|
||||
$GLOBALS['js_include'][] = 'codemirror/lib/codemirror.js';
|
||||
$GLOBALS['js_include'][] = 'codemirror/mode/mysql/mysql.js';
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['insert_rows'])
|
||||
&& is_numeric($_REQUEST['insert_rows'])
|
||||
&& $_REQUEST['insert_rows'] != $cfg['InsertRows']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user