From 0c251ec008559239d2245d0cdf87e0f9e8ac0416 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 28 Oct 2016 17:40:53 +0300 Subject: [PATCH] [DE] Delete unused field opts.data.urlDiff in SetHistoryData. --- apps/common/main/lib/controller/History.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/main/lib/controller/History.js b/apps/common/main/lib/controller/History.js index 6618b7ad1..f01eb8f7e 100644 --- a/apps/common/main/lib/controller/History.js +++ b/apps/common/main/lib/controller/History.js @@ -163,7 +163,7 @@ define([ if (historyStore && data!==null) { var rev, revisions = historyStore.findRevisions(data.version), urlGetTime = new Date(); - var diff = opts.data.urlDiff || opts.data.changesUrl, + var diff = opts.data.changesUrl, url, docId; if (opts.data.current && opts.data.previous) { url = _.isEmpty(diff) ? opts.data.current.url : opts.data.previous.url;