Fix js errors by initializing JSINFO on details.php
SPR-814
This commit is contained in:
parent
ecb77cc51c
commit
e1c37e409c
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ if (!defined('DOKU_INC')) {
|
||||||
}
|
}
|
||||||
header('X-UA-Compatible: IE=edge,chrome=1');
|
header('X-UA-Compatible: IE=edge,chrome=1');
|
||||||
|
|
||||||
|
global $JSINFO;
|
||||||
|
if (empty($JSINFO)) {
|
||||||
|
$JSINFO = array();
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>"
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>"
|
||||||
lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
|
lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue