|
|
@@ -154,7 +154,7 @@ class OGPView {
|
|
|
$this->header_code .= '<script type="text/javascript" src="js/jquery/plugins/jquery.quicksearch.js"></script>' . "\n";
|
|
|
|
|
|
// Dump defined constants to json (for language javascript)
|
|
|
- $this->header_code .= '<script type="text/javascript">var langConsts = ' . json_encode(get_defined_constants()) . ';</script>' . "\n";
|
|
|
+ $this->header_code .= '<script type="text/javascript">var langConsts = ' . json_encode(utf8ize(get_defined_constants())) . ';</script>' . "\n";
|
|
|
|
|
|
// Include our global JS
|
|
|
$this->header_code .= '<script type="text/javascript" src="js/global.js"></script>' . "\n";
|