[DE] Delete unused field opts.data.urlDiff in SetHistoryData.
This commit is contained in:
parent
6c7ea6afe2
commit
0c251ec008
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue