From 30363302f46e0ed1f6a4c214b2e04d7c8e12ae73 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Fri, 22 Nov 2013 11:48:55 +0100 Subject: [PATCH 1/1] fix --- src/editor/modules/data/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/modules/data/data.js b/src/editor/modules/data/data.js index a8144cb..7f60004 100644 --- a/src/editor/modules/data/data.js +++ b/src/editor/modules/data/data.js @@ -106,7 +106,7 @@ return function(sandbox) { url: '/' + gettext('editor') + '/' + document_id + '/revert', data: JSON.stringify(options), success: function(data) { - document_version = data.version; + document_version = data.current_version; reloadHistory(); sandbox.publish('documentReverted', data); }, -- 2.20.1