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

add 'jszip-utils.min.js' and 'jszip.min.js' in index.html

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62464 954022d7-b5bf-4e40-9824-e11837661b57
parent d577394c
......@@ -190,9 +190,19 @@
return urlParams;
}
var lang = getUrlParams()["lang"] || 'en';
lang = lang.split("-")[0];
var loading = 'Loading...';
function encodeUrlParam(str) {
return str.replace(/&/g, '&')
.replace(/"/g, '"')
.replace(/'/g, ''')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;');
}
var params = getUrlParams(),
lang = (params["lang"] || 'en').split("-")[0],
customer = encodeUrlParam(params["customer"] || 'ONLYOFFICE');
loading = 'Loading...';
if ( lang == 'de') loading = 'Ladevorgang...';
else if ( lang == 'es') loading = 'Cargando...';
else if ( lang == 'fr') loading = 'Chargement en cours...';
......@@ -202,8 +212,6 @@
else if ( lang == 'sl') loading = 'Nalaganje...';
else if ( lang == 'tr') loading = 'Yükleniyor...';
var customer = getUrlParams()["customer"] || 'ONLYOFFICE';
document.write(
'<div id="loading-mask" class="loadmask">' +
'<div class="loader-page">' +
......@@ -230,6 +238,8 @@
<script type="text/javascript" src="../../../../OfficeWeb/Common/3rdparty/sockjs/sockjs-0.3.min.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/3rdparty/xregexp/xregexp-all-min.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/3rdparty/underscore/underscore-min.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/3rdparty/jszip/jszip.min.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/3rdparty/jszip/jszip-utils.min.js"></script>
<!-- sdk -->
<script type="text/javascript" src="../../../../OfficeWeb/Common/docscoapisettings.js"></script>
......
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