summaryrefslogtreecommitdiff
path: root/lib/exe/js.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-01-17 15:36:34 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-01-17 15:36:34 +0100
commit138bfd16df9cb583107097f32be288b8705cd035 (patch)
treeb1cdc519bc671d389e98feb65788abc4d6cae1be /lib/exe/js.php
parent1ed1b9511ffd2fd1ba4efbcdf902d56e1dadedc2 (diff)
downloadrpg-138bfd16df9cb583107097f32be288b8705cd035.tar.gz
rpg-138bfd16df9cb583107097f32be288b8705cd035.tar.bz2
localize jQuery UI date picker FS#2912
Diffstat (limited to 'lib/exe/js.php')
-rw-r--r--lib/exe/js.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php
index 040b8874d..04413b409 100644
--- a/lib/exe/js.php
+++ b/lib/exe/js.php
@@ -44,6 +44,7 @@ function js_out(){
DOKU_INC.'lib/scripts/jquery/jquery.cookie.js',
DOKU_INC."lib/scripts/jquery/jquery-ui$min.js",
DOKU_INC."lib/scripts/jquery/jquery-migrate$min.js",
+ DOKU_INC.'inc/lang/'.$conf['lang'].'/jquery.ui.datepicker.js',
DOKU_INC."lib/scripts/fileuploader.js",
DOKU_INC."lib/scripts/fileuploaderextended.js",
DOKU_INC.'lib/scripts/helpers.js',
@@ -112,6 +113,7 @@ function js_out(){
// load files
foreach($files as $file){
+ if(!file_exists($file)) continue;
$ismin = (substr($file,-7) == '.min.js');
$debugjs = ($conf['allowdebug'] && strpos($file, DOKU_INC.'lib/scripts/') !== 0);