Commit b6c6b296 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete unused documentTitleWithoutExtention

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66382 954022d7-b5bf-4e40-9824-e11837661b57
parent 7ceb354d
"use strict";
var documentTitleWithoutExtention = 'null';
var documentFormat = 'null';
var documentVKey = null;
var documentFormatSave = c_oAscFileType.PPTX;//пока не во что другое сохранять не можем.
......@@ -646,16 +645,6 @@ asc_docs_api.prototype.asc_setDocInfo = function(c_DocInfo) {
this.documentTitle = this.DocInfo.get_Title();
documentFormat = this.DocInfo.get_Format();
this.documentCallbackUrl = this.DocInfo.get_CallbackUrl();
var nIndex = -1;
if (this.documentTitle) {
nIndex = this.documentTitle.lastIndexOf(".");
}
if (-1 != nIndex) {
documentTitleWithoutExtention = this.documentTitle.substring(0, nIndex);
} else {
documentTitleWithoutExtention = this.documentTitle;
}
documentVKey = this.DocInfo.get_VKey();
var sProtocol = window.location.protocol;
this.documentOrigin = ((sProtocol && '' !== sProtocol) ? sProtocol + '//' : '') + window.location.host;
......
"use strict";
var documentTitleWithoutExtention = 'null';
var documentFormat = 'null';
var documentVKey = null;
var documentFormatSave = c_oAscFileType.DOCX;
......@@ -577,16 +576,6 @@ asc_docs_api.prototype.asc_setDocInfo = function(c_DocInfo) {
this.documentTitle = this.DocInfo.get_Title();
documentFormat = this.DocInfo.get_Format();
this.documentCallbackUrl = this.DocInfo.get_CallbackUrl();
var nIndex = -1;
if (this.documentTitle) {
nIndex = this.documentTitle.lastIndexOf(".");
}
if (-1 != nIndex) {
documentTitleWithoutExtention = this.documentTitle.substring(0, nIndex);
} else {
documentTitleWithoutExtention = this.documentTitle;
}
documentVKey = this.DocInfo.get_VKey();
var sProtocol = window.location.protocol;
this.documentOrigin = ((sProtocol && '' !== sProtocol) ? sProtocol + '//' : '') + window.location.host;
......
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