Commit 0c251ec0 authored by Julia Radzhabova's avatar Julia Radzhabova

[DE] Delete unused field opts.data.urlDiff in SetHistoryData.

parent 6c7ea6af
...@@ -163,7 +163,7 @@ define([ ...@@ -163,7 +163,7 @@ define([
if (historyStore && data!==null) { if (historyStore && data!==null) {
var rev, revisions = historyStore.findRevisions(data.version), var rev, revisions = historyStore.findRevisions(data.version),
urlGetTime = new Date(); urlGetTime = new Date();
var diff = opts.data.urlDiff || opts.data.changesUrl, var diff = opts.data.changesUrl,
url, docId; url, docId;
if (opts.data.current && opts.data.previous) { if (opts.data.current && opts.data.previous) {
url = _.isEmpty(diff) ? opts.data.current.url : opts.data.previous.url; url = _.isEmpty(diff) ? opts.data.current.url : opts.data.previous.url;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment