From: Aleksander Ɓukasz Date: Fri, 22 Nov 2013 10:48:55 +0000 (+0100) Subject: fix X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/30363302f46e0ed1f6a4c214b2e04d7c8e12ae73?ds=sidebyside fix --- 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); },