X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/072a91dee12e07caf91a693c29fd9f3be5ee177b..b4bf723adc4b54dcc0a6eefb592fbbe9795a39f0:/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}) }); }