Commit 72dd80b6 authored by Alexey.Musinov's avatar Alexey.Musinov

mobile min srcipt building

parent 951da61c
...@@ -3769,13 +3769,13 @@ function OfflineEditor () { ...@@ -3769,13 +3769,13 @@ function OfflineEditor () {
_api = new window["Asc"]["spreadsheet_api"]({}); _api = new window["Asc"]["spreadsheet_api"]({});
var userInfo = new Asc.asc_CUserInfo(); var userInfo = new Asc.asc_CUserInfo();
userInfo.asc_putId(this.initSettings["userId"]); userInfo.asc_putId(this.initSettings["docUserId"]);
userInfo.asc_putFullName(this.initSettings["fullName"]); userInfo.asc_putFullName(this.initSettings["docUserName"]);
userInfo.asc_putFirstName(this.initSettings["firstName"]); userInfo.asc_putFirstName(this.initSettings["docUserFirstName"]);
userInfo.asc_putLastName(this.initSettings["lastName"]); userInfo.asc_putLastName(this.initSettings["docUserLastName"]);
var docInfo = new Asc.asc_CDocInfo(); var docInfo = new Asc.asc_CDocInfo();
docInfo.put_Id(this.initSettings["documentId"]); docInfo.put_Id(this.initSettings["docKey"]);
docInfo.put_UserInfo(userInfo); docInfo.put_UserInfo(userInfo);
_api.asc_setDocInfo(docInfo); _api.asc_setDocInfo(docInfo);
...@@ -3935,11 +3935,11 @@ function OfflineEditor () { ...@@ -3935,11 +3935,11 @@ function OfflineEditor () {
var rData = { var rData = {
"c" : "open", "c" : "open",
"id" : t.initSettings["documentId"], "id" : t.initSettings["docKey"],
"userid" : t.initSettings["userId"], "userid" : t.initSettings["docUserId"],
"format" : "xlsx", "format" : "xlsx",
"vkey" : undefined, "vkey" : undefined,
"url" : this.documentUrl, "url" : t.initSettings["docURL"],
"title" : this.documentTitle, "title" : this.documentTitle,
"embeddedfonts" : false}; "embeddedfonts" : false};
......
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