X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/9da575320a658b0f543c8ff4ac0ebe43fdd975e1..801f91bc1ea859cc45be1de2cd5cd38901f03005:/src/editor/modules/rng/rng.js?ds=inline diff --git a/src/editor/modules/rng/rng.js b/src/editor/modules/rng/rng.js index b6b103f..bc4ea7f 100644 --- a/src/editor/modules/rng/rng.js +++ b/src/editor/modules/rng/rng.js @@ -226,6 +226,7 @@ return function(sandbox) { sandbox.getModule('data').restoreVersion(event); }, displayVersion: function(event) { + /* globals window */ window.open('/' + gettext('editor') + '/' + sandbox.getModule('data').getDocumentId() + '?version=' + event.version, _.uniqueId()); } };