Commit 26d9821e authored by konovalovsergey's avatar konovalovsergey

asc_CVersionHistory add asc_setIsRequested

parent 639f9b76
......@@ -46,6 +46,7 @@
this.colors = null;
this.changes = null;
this.token = null;
this.isRequested = null;
if (newObj) {
this.update(newObj);
......@@ -64,6 +65,7 @@
}
this.colors = newObj.colors;
this.newChangeId = newObj.currentChangeId;
this.isRequested = newObj.isRequested;
return bUpdate;
};
asc_CVersionHistory.prototype.applyChanges = function(editor) {
......@@ -93,6 +95,9 @@
asc_CVersionHistory.prototype.asc_setToken = function(val) {
this.token = val;
};
asc_CVersionHistory.prototype.asc_setIsRequested = function(val) {
this.isRequested = val;
};
window["Asc"].asc_CVersionHistory = window["Asc"]["asc_CVersionHistory"] = asc_CVersionHistory;
prot = asc_CVersionHistory.prototype;
......
......@@ -418,6 +418,7 @@
};
if (versionHistory)
{
rData["closeonerror"] = versionHistory.isRequested;
rData["jwt"] = versionHistory.token;
//чтобы результат пришел только этому соединению, а не всем кто в документе
rData["userconnectionid"] = this.CoAuthoringApi.getUserConnectionId();
......
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