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

Используем доступ по имени для свойств определяемых во внешних скриптах.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65323 954022d7-b5bf-4e40-9824-e11837661b57
parent 9a573cf4
......@@ -863,7 +863,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
spreadsheet_api.prototype._OfflineAppDocumentStartLoad = function(fCallback) {
var t = this, src = this.FontLoader.fontFilesPath;
src += window.g_offline_doc ? window.g_offline_doc : "../Excel/document/";
//window.g_offline_doc defined in external script, so use it in square breaks
src += window["g_offline_doc"] ? window["g_offline_doc"] : "../Excel/document/";
var scriptElem = document.createElement('script');
scriptElem.onload = scriptElem.onerror = function() {
......
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