From c0e11a8f6d0d9a4c030aa90fe91f0fc49cd05e0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Fri, 19 Apr 2013 16:14:48 +0200 Subject: [PATCH] Visual editor: localizing publication save url --- modules/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) }); } -- 2.20.1