X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/072a91dee12e07caf91a693c29fd9f3be5ee177b..8e0830cb8d24b4d81d12a4df96d03c9d78f88343:/modules/data.js?ds=sidebyside 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}) }); }