diff --git a/apps/common/Gateway.js b/apps/common/Gateway.js index b8dcd4305..f47d839cf 100644 --- a/apps/common/Gateway.js +++ b/apps/common/Gateway.js @@ -162,11 +162,13 @@ Common.Gateway = new(function() { }); }, - requestRestore: function(revision, url) { + requestRestore: function(version, url) { _postMessage({ event: 'onRequestRestore', - data: revision, - url: url + data: { + version: version, + url: url + } }); },