Commit 50af793a authored by Alexey.Golubev's avatar Alexey.Golubev Committed by Alexander.Trofimov

Для комманды "getlicense" передаем только команду.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54240 954022d7-b5bf-4e40-9824-e11837661b57
parent 369b436d
......@@ -543,9 +543,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
asc_getLicense : function () {
var t = this;
var rdata = {
"c": "getlicense",
"id": this.DocInfo["Id"],
"userid": this.DocInfo["UserId"]
"c": "getlicense"
};
this._asc_sendCommand(function (response) {t._onGetLicense(response);}, rdata);
},
......
......@@ -737,9 +737,7 @@ asc_docs_api.prototype.asc_getEditorPermissions = function()
asc_docs_api.prototype.asc_getLicense = function () {
var t = this;
var rdata = {
"c" : "getlicense",
"id" : this.DocInfo.get_Id(),
"userid" : this.DocInfo.get_UserId()
"c" : "getlicense"
};
sendCommand(this, function (response) {t._onGetLicense(response);}, rdata);
};
......
......@@ -872,9 +872,7 @@ asc_docs_api.prototype.asc_getEditorPermissions = function()
asc_docs_api.prototype.asc_getLicense = function () {
var t = this;
var rdata = {
"c" : "getlicense",
"id" : this.DocInfo.get_Id(),
"userid" : this.DocInfo.get_UserId()
"c" : "getlicense"
};
sendCommand(this, function (response) {t._onGetLicense(response);}, rdata);
};
......
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