Fix js errors by initializing JSINFO on details.php

SPR-814
This commit is contained in:
Michael Große 2017-04-11 11:20:40 +02:00
commit e1c37e409c
No known key found for this signature in database
GPG key ID: 7E31028FBFEACC79

View file

@ -14,6 +14,11 @@ if (!defined('DOKU_INC')) {
}
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'] ?>"
lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">