[DE] Version history: show changes by default.

This commit is contained in:
Julia Radzhabova 2016-10-04 17:12:23 +03:00
parent 71390d54be
commit ec2ee7128b

View file

@ -403,7 +403,7 @@ define([
markedAsVersion: (group!==version.versionGroup), markedAsVersion: (group!==version.versionGroup),
selected: (opts.data.currentVersion == version.version), selected: (opts.data.currentVersion == version.version),
canRestore: this.appOptions.canHistoryRestore && (ver < versions.length-1), canRestore: this.appOptions.canHistoryRestore && (ver < versions.length-1),
isExpanded: false isExpanded: true
})); }));
if (opts.data.currentVersion == version.version) { if (opts.data.currentVersion == version.version) {
currentVersion = arrVersions[arrVersions.length-1]; currentVersion = arrVersions[arrVersions.length-1];
@ -451,7 +451,7 @@ define([
selected: false, selected: false,
canRestore: this.appOptions.canHistoryRestore, canRestore: this.appOptions.canHistoryRestore,
isRevision: false, isRevision: false,
isVisible: false isVisible: true
})); }));
arrColors.push(user.get('colorval')); arrColors.push(user.get('colorval'));
} }