X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/072a91dee12e07caf91a693c29fd9f3be5ee177b..1dcf69f7caa40430482c79f46c5478f84f6afc0a:/modules/data.js diff --git a/modules/data.js b/modules/data.js index 8debbd3..5f3fd39 100644 --- a/modules/data.js +++ b/modules/data.js @@ -54,7 +54,7 @@ rng.modules.data = function(sandbox) { saveDocument: function() { $.ajax({ method: 'post', - url: '/editor/' + document_id, + url: '/' + gettext('editor') + '/' + document_id, data: JSON.stringify({document:doc}) }); }