diff options
Diffstat (limited to 'lib/private/template/jsresourcelocator.php')
-rw-r--r-- | lib/private/template/jsresourcelocator.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/template/jsresourcelocator.php b/lib/private/template/jsresourcelocator.php index f8fe3817ce6..507f31327a6 100644 --- a/lib/private/template/jsresourcelocator.php +++ b/lib/private/template/jsresourcelocator.php @@ -35,6 +35,10 @@ class JSResourceLocator extends ResourceLocator { ) { return; } + // missing translations files fill be ignored + if (strpos($script, "l10n/") === 0) { + return; + } throw new \Exception('js file not found: script:'.$script); } |