diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-06-20 22:57:28 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-06-20 22:57:28 +0200 |
commit | bcfd1ff304a688823d60cf5a289d625e9501fff1 (patch) | |
tree | 56b0361859871c7d1f060d90b14ba114e8520d6f /core | |
parent | fb7f00edbca5b1892cdfc04358d6658e986a877c (diff) | |
download | nextcloud-server-bcfd1ff304a688823d60cf5a289d625e9501fff1.tar.gz nextcloud-server-bcfd1ff304a688823d60cf5a289d625e9501fff1.zip |
Adapt javascript-i18n to latest changes
Diffstat (limited to 'core')
-rw-r--r-- | core/ajax/translations.php | 2 | ||||
-rw-r--r-- | core/js/js.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/ajax/translations.php b/core/ajax/translations.php index a1e84487f63..adaf7dcb758 100644 --- a/core/ajax/translations.php +++ b/core/ajax/translations.php @@ -22,7 +22,7 @@ */ // Init owncloud -require_once('../lib/base.php'); +require_once('../../lib/base.php'); $app = $_POST["app"]; diff --git a/core/js/js.js b/core/js/js.js index 7e44b7ce6d5..9a14cb8ed4f 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1,7 +1,7 @@ var _l10ncache = {}; function t(app,text){ if( !( app in _l10ncache )){ - $.post( oc_webroot+'/l10n/javascript.php', {'app': app}, function(jsondata){ + $.post( oc_webroot+'/core/ajax/translations.php', {'app': app}, function(jsondata){ _l10ncache[app] = jsondata.data; }); |