From: Aleksander Ɓukasz Date: Fri, 19 Apr 2013 14:14:48 +0000 (+0200) Subject: Visual editor: localizing publication save url X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/c0e11a8f6d0d9a4c030aa90fe91f0fc49cd05e0e Visual editor: localizing publication save url --- 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}) }); }