diff --git a/apps/api/documents/index.html b/apps/api/documents/index.html deleted file mode 100644 index 82fbc7009..000000000 --- a/apps/api/documents/index.html +++ /dev/null @@ -1,346 +0,0 @@ - - -
-', + ' | ', ' | |
', @@ -77,7 +77,7 @@ define([ ' | ||
', '', - '', + '', ' | ', '||
', ' | ', ' | |
', + ' | ', + ' | |
', ' | ',
@@ -573,6 +577,11 @@ define([
labelText: this.strResolvedComment
});
+ this.chR1C1Style = new Common.UI.CheckBox({
+ el: $('#fms-chb-r1c1-style'),
+ labelText: this.strR1C1
+ });
+
this.cmbCoAuthMode = new Common.UI.ComboBox({
el : $('#fms-cmb-coauth-mode'),
style : 'width: 160px;',
@@ -754,6 +763,7 @@ define([
/** coauthoring begin **/
this.chLiveComment.setValue(Common.Utils.InternalSettings.get("sse-settings-livecomment"));
this.chResolvedComment.setValue(Common.Utils.InternalSettings.get("sse-settings-resolvedcomment"));
+ this.chR1C1Style.setValue(Common.Utils.InternalSettings.get("sse-settings-r1c1"));
var fast_coauth = Common.Utils.InternalSettings.get("sse-settings-coauthmode");
item = this.cmbCoAuthMode.store.findWhere({value: fast_coauth ? 1 : 0});
@@ -805,6 +815,7 @@ define([
if (this.mode.isEdit && !this.mode.isOffline && this.mode.canCoAuthoring)
Common.localStorage.setItem("sse-settings-coauthmode", this.cmbCoAuthMode.getValue());
/** coauthoring end **/
+ Common.localStorage.setItem("sse-settings-r1c1", this.chR1C1Style.isChecked() ? 1 : 0);
Common.localStorage.setItem("sse-settings-fontrender", this.cmbFontRender.getValue());
Common.localStorage.setItem("sse-settings-unit", this.cmbUnit.getValue());
Common.localStorage.setItem("sse-settings-autosave", this.chAutosave.isChecked() ? 1 : 0);
@@ -889,7 +900,9 @@ define([
txtInch: 'Inch',
textForceSave: 'Save to Server',
strForcesave: 'Always save to server (otherwise save to server on document close)',
- strResolvedComment: 'Turn on display of the resolved comments'
+ strResolvedComment: 'Turn on display of the resolved comments',
+ textRefStyle: 'Reference Style',
+ strR1C1: 'Turn on R1C1 style'
}, SSE.Views.FileMenuPanels.MainSettingsGeneral || {}));
SSE.Views.FileMenuPanels.RecentFiles = Common.UI.BaseView.extend({
diff --git a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js
index eae907f2f..e9cb68e78 100644
--- a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js
+++ b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js
@@ -155,12 +155,8 @@ define([
validateOnChange: true,
validateOnBlur: false,
validation : function(value) {
- var isvalid = /^[A-Z]+[1-9]\d*:[A-Z]+[1-9]\d*$/.test(value);
-
- if (!isvalid)
- isvalid = /^[A-Z]+[1-9]\d*$/.test(value);
-
- if (isvalid) {
+ var isvalid = me.api.asc_checkDataRange(Asc.c_oAscSelectionDialogType.FormatTable, value, false);
+ if (isvalid == Asc.c_oAscError.ID.No) {
return true;
} else {
return me.textInvalidRange;
diff --git a/apps/spreadsheeteditor/main/app/view/ShapeSettings.js b/apps/spreadsheeteditor/main/app/view/ShapeSettings.js
index 44162897e..517e9c248 100644
--- a/apps/spreadsheeteditor/main/app/view/ShapeSettings.js
+++ b/apps/spreadsheeteditor/main/app/view/ShapeSettings.js
@@ -372,8 +372,10 @@ define([
onTransparencyChangeComplete: function(field, newValue, oldValue){
clearInterval(this.updateslider);
this._sliderChanged = newValue;
- this.api.setEndPointHistory();
- this._transparencyApplyFunc();
+ if (!this._sendUndoPoint) { // start point was added
+ this.api.setEndPointHistory();
+ this._transparencyApplyFunc();
+ }
this._sendUndoPoint = true;
},
@@ -511,8 +513,10 @@ define([
onGradientChangeComplete: function(slider, newValue, oldValue){
clearInterval(this.updateslider);
this._sliderChanged = true;
- this.api.setEndPointHistory();
- this._gradientApplyFunc();
+ if (!this._sendUndoPoint) { // start point was added
+ this.api.setEndPointHistory();
+ this._gradientApplyFunc();
+ }
this._sendUndoPoint = true;
},
diff --git a/apps/spreadsheeteditor/main/app/view/TextArtSettings.js b/apps/spreadsheeteditor/main/app/view/TextArtSettings.js
index 291ae67a6..7b716ac38 100644
--- a/apps/spreadsheeteditor/main/app/view/TextArtSettings.js
+++ b/apps/spreadsheeteditor/main/app/view/TextArtSettings.js
@@ -364,8 +364,10 @@ define([
onTransparencyChangeComplete: function(field, newValue, oldValue){
clearInterval(this.updateslider);
this._sliderChanged = newValue;
- this.api.setEndPointHistory();
- this._transparencyApplyFunc();
+ if (!this._sendUndoPoint) { // start point was added
+ this.api.setEndPointHistory();
+ this._transparencyApplyFunc();
+ }
this._sendUndoPoint = true;
},
@@ -503,8 +505,10 @@ define([
onGradientChangeComplete: function(slider, newValue, oldValue){
clearInterval(this.updateslider);
this._sliderChanged = true;
- this.api.setEndPointHistory();
- this._gradientApplyFunc();
+ if (!this._sendUndoPoint) { // start point was added
+ this.api.setEndPointHistory();
+ this._gradientApplyFunc();
+ }
this._sendUndoPoint = true;
},
diff --git a/apps/spreadsheeteditor/main/locale/cs.json b/apps/spreadsheeteditor/main/locale/cs.json
index dcdb082a6..aa66aa24d 100644
--- a/apps/spreadsheeteditor/main/locale/cs.json
+++ b/apps/spreadsheeteditor/main/locale/cs.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "adresa:",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Lotyšsko, EU, LV-1021",
"Common.Views.About.txtLicensee": "DRŽITEL LICENCE",
"Common.Views.About.txtLicensor": "UDĚLOVATEL LICENCE",
"Common.Views.About.txtMail": "email:",
diff --git a/apps/spreadsheeteditor/main/locale/de.json b/apps/spreadsheeteditor/main/locale/de.json
index 99838f4e3..469b1e849 100644
--- a/apps/spreadsheeteditor/main/locale/de.json
+++ b/apps/spreadsheeteditor/main/locale/de.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "Adresse: ",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Lettland, EU, LV-1021",
"Common.Views.About.txtLicensee": "LIZENZNEHMER",
"Common.Views.About.txtLicensor": "LIZENZGEBER",
"Common.Views.About.txtMail": "E-Mail-Adresse: ",
diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json
index c9c3fcff9..e78bd13de 100644
--- a/apps/spreadsheeteditor/main/locale/en.json
+++ b/apps/spreadsheeteditor/main/locale/en.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "address: ",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Latvia, EU, LV-1021",
"Common.Views.About.txtLicensee": "LICENSEE",
"Common.Views.About.txtLicensor": "LICENSOR",
"Common.Views.About.txtMail": "email: ",
@@ -1332,6 +1331,8 @@
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtPt": "Point",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtRu": "Russian",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtWin": "as Windows",
+ "SSE.Views.FileMenuPanels.MainSettingsGeneral.textRefStyle": "Reference Style",
+ "SSE.Views.FileMenuPanels.MainSettingsGeneral.strR1C1": "Turn on R1C1 style",
"SSE.Views.FileMenuPanels.ProtectDoc.notcriticalErrorTitle": "Warning",
"SSE.Views.FileMenuPanels.ProtectDoc.strEncrypt": "With password",
"SSE.Views.FileMenuPanels.ProtectDoc.strProtect": "Protect Spreadsheet",
diff --git a/apps/spreadsheeteditor/main/locale/es.json b/apps/spreadsheeteditor/main/locale/es.json
index 2fba5441a..83f4bb6a8 100644
--- a/apps/spreadsheeteditor/main/locale/es.json
+++ b/apps/spreadsheeteditor/main/locale/es.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "dirección: ",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Letonia, UE, LV-1021",
"Common.Views.About.txtLicensee": "LICENCIATARIO ",
"Common.Views.About.txtLicensor": "LICENCIANTE",
"Common.Views.About.txtMail": "email: ",
diff --git a/apps/spreadsheeteditor/main/locale/fr.json b/apps/spreadsheeteditor/main/locale/fr.json
index 3fe2ac11d..a88ca1c9e 100644
--- a/apps/spreadsheeteditor/main/locale/fr.json
+++ b/apps/spreadsheeteditor/main/locale/fr.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "adresse: ",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Lettonie, EU, LV-1021",
"Common.Views.About.txtLicensee": "CESSIONNAIRE",
"Common.Views.About.txtLicensor": "CONCÉDANT",
"Common.Views.About.txtMail": "émail: ",
diff --git a/apps/spreadsheeteditor/main/locale/it.json b/apps/spreadsheeteditor/main/locale/it.json
index 99821d5f7..a3ffa2eb3 100644
--- a/apps/spreadsheeteditor/main/locale/it.json
+++ b/apps/spreadsheeteditor/main/locale/it.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "indirizzo: ",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Lettonia, UE, LV-1021",
"Common.Views.About.txtLicensee": "LICENZIATARIO",
"Common.Views.About.txtLicensor": "CONCEDENTE",
"Common.Views.About.txtMail": "email: ",
diff --git a/apps/spreadsheeteditor/main/locale/ja.json b/apps/spreadsheeteditor/main/locale/ja.json
index b97dd1ef5..2e2f00ce2 100644
--- a/apps/spreadsheeteditor/main/locale/ja.json
+++ b/apps/spreadsheeteditor/main/locale/ja.json
@@ -38,7 +38,6 @@
"Common.Utils.Metric.txtCm": "センチ",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "アドレス:",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Latvia, EU, LV-1021",
"Common.Views.About.txtLicensee": "ライセンス",
"Common.Views.About.txtLicensor": "ライセンサー",
"Common.Views.About.txtMail": "メール:",
diff --git a/apps/spreadsheeteditor/main/locale/ko.json b/apps/spreadsheeteditor/main/locale/ko.json
index a88ea03cc..f5d90b6e8 100644
--- a/apps/spreadsheeteditor/main/locale/ko.json
+++ b/apps/spreadsheeteditor/main/locale/ko.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "주소 :",
- "Common.Views.About.txtAscAddress": "Lubanas 125a-25, Riga, Latvia, EU, LV-1021",
"Common.Views.About.txtLicensee": "LICENSEE",
"Common.Views.About.txtLicensor": "LICENSOR",
"Common.Views.About.txtMail": "email :",
diff --git a/apps/spreadsheeteditor/main/locale/lv.json b/apps/spreadsheeteditor/main/locale/lv.json
index e3cb82ef3..fb902160b 100644
--- a/apps/spreadsheeteditor/main/locale/lv.json
+++ b/apps/spreadsheeteditor/main/locale/lv.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "address: ",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Latvia, EU, LV-1021",
"Common.Views.About.txtLicensee": "LICENSEE",
"Common.Views.About.txtLicensor": "LICENSOR",
"Common.Views.About.txtMail": "email: ",
diff --git a/apps/spreadsheeteditor/main/locale/nl.json b/apps/spreadsheeteditor/main/locale/nl.json
index ba601ae27..eea9aada0 100644
--- a/apps/spreadsheeteditor/main/locale/nl.json
+++ b/apps/spreadsheeteditor/main/locale/nl.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "adres:",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Letland, EU, LV-1021",
"Common.Views.About.txtLicensee": "Licentiehouder",
"Common.Views.About.txtLicensor": "LICENTIEVERLENER",
"Common.Views.About.txtMail": "e-mail:",
diff --git a/apps/spreadsheeteditor/main/locale/pl.json b/apps/spreadsheeteditor/main/locale/pl.json
index bd17df4b0..1055f10f5 100644
--- a/apps/spreadsheeteditor/main/locale/pl.json
+++ b/apps/spreadsheeteditor/main/locale/pl.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "adres:",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Latvia, EU, LV-1021",
"Common.Views.About.txtLicensee": "LICENCJOBIORCA",
"Common.Views.About.txtLicensor": "LICENCJODAWCA",
"Common.Views.About.txtMail": "e-mail:",
diff --git a/apps/spreadsheeteditor/main/locale/pt.json b/apps/spreadsheeteditor/main/locale/pt.json
index 2a8f302a4..3221ac04c 100644
--- a/apps/spreadsheeteditor/main/locale/pt.json
+++ b/apps/spreadsheeteditor/main/locale/pt.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "endereço:",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Latvia, EU, LV-1021",
"Common.Views.About.txtLicensee": "LICENÇA",
"Common.Views.About.txtLicensor": "LICENCIANTE",
"Common.Views.About.txtMail": "e-mail:",
diff --git a/apps/spreadsheeteditor/main/locale/ru.json b/apps/spreadsheeteditor/main/locale/ru.json
index 70b46cc23..2eab1582c 100644
--- a/apps/spreadsheeteditor/main/locale/ru.json
+++ b/apps/spreadsheeteditor/main/locale/ru.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "см",
"Common.Utils.Metric.txtPt": "пт",
"Common.Views.About.txtAddress": "адрес: ",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Latvia, EU, LV-1021",
"Common.Views.About.txtLicensee": "ЛИЦЕНЗИАТ",
"Common.Views.About.txtLicensor": "ЛИЦЕНЗИАР",
"Common.Views.About.txtMail": "email: ",
@@ -1323,6 +1322,8 @@
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtPt": "Пункт",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtRu": "Русский",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtWin": "как Windows",
+ "SSE.Views.FileMenuPanels.MainSettingsGeneral.textRefStyle": "Стиль ссылок",
+ "SSE.Views.FileMenuPanels.MainSettingsGeneral.strR1C1": "Включить стиль R1C1",
"SSE.Views.FileMenuPanels.ProtectDoc.notcriticalErrorTitle": "Внимание",
"SSE.Views.FileMenuPanels.ProtectDoc.strEncrypt": "C помощью пароля",
"SSE.Views.FileMenuPanels.ProtectDoc.strProtect": "Защитить электронную таблицу",
diff --git a/apps/spreadsheeteditor/main/locale/sk.json b/apps/spreadsheeteditor/main/locale/sk.json
index 2003378b3..b11cf4e70 100644
--- a/apps/spreadsheeteditor/main/locale/sk.json
+++ b/apps/spreadsheeteditor/main/locale/sk.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "adresa:",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Lotyšsko, EU, LV-1021",
"Common.Views.About.txtLicensee": "DRŽITEĽ LICENCIE",
"Common.Views.About.txtLicensor": "UDEĽOVATEĽ LICENCIE",
"Common.Views.About.txtMail": "e-mail: ",
diff --git a/apps/spreadsheeteditor/main/locale/sl.json b/apps/spreadsheeteditor/main/locale/sl.json
index 12b644689..922664d12 100644
--- a/apps/spreadsheeteditor/main/locale/sl.json
+++ b/apps/spreadsheeteditor/main/locale/sl.json
@@ -35,7 +35,6 @@
"Common.UI.Window.textWarning": "Opozorilo",
"Common.UI.Window.yesButtonText": "Da",
"Common.Views.About.txtAddress": "naslov:",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Latvija, EU, LV-1021",
"Common.Views.About.txtLicensee": "LICENCE",
"Common.Views.About.txtLicensor": "DAJALEC LICENCE",
"Common.Views.About.txtMail": "e-naslov:",
diff --git a/apps/spreadsheeteditor/main/locale/tr.json b/apps/spreadsheeteditor/main/locale/tr.json
index 20eaf03b8..34f751af7 100644
--- a/apps/spreadsheeteditor/main/locale/tr.json
+++ b/apps/spreadsheeteditor/main/locale/tr.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "adres:",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Letonya, AB, LV-1021",
"Common.Views.About.txtLicensee": "LİSANS SAHİBİ",
"Common.Views.About.txtLicensor": "LİSANS VEREN",
"Common.Views.About.txtMail": "Eposta:",
diff --git a/apps/spreadsheeteditor/main/locale/uk.json b/apps/spreadsheeteditor/main/locale/uk.json
index 63889c581..8eca9e94b 100644
--- a/apps/spreadsheeteditor/main/locale/uk.json
+++ b/apps/spreadsheeteditor/main/locale/uk.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "см",
"Common.Utils.Metric.txtPt": "Пт",
"Common.Views.About.txtAddress": "адреса:",
- "Common.Views.About.txtAscAddress": "Вул. Лубанас 125а-25, Рига, Латвія, ЄС, LV-1021",
"Common.Views.About.txtLicensee": "ЛІЦЕНЗІЯ",
"Common.Views.About.txtLicensor": "Ліцензіар",
"Common.Views.About.txtMail": "пошта:",
diff --git a/apps/spreadsheeteditor/main/locale/vi.json b/apps/spreadsheeteditor/main/locale/vi.json
index 2424b1f22..94248e4f6 100644
--- a/apps/spreadsheeteditor/main/locale/vi.json
+++ b/apps/spreadsheeteditor/main/locale/vi.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "địa chỉ:",
- "Common.Views.About.txtAscAddress": "Lubanas st. 125a-25, Riga, Latvia, EU, LV-1021",
"Common.Views.About.txtLicensee": "NGƯỜI ĐƯỢC CẤP GIẤY PHÉP",
"Common.Views.About.txtLicensor": "NGƯỜI CẤP GIẤY PHÉP",
"Common.Views.About.txtMail": "email:",
diff --git a/apps/spreadsheeteditor/main/locale/zh.json b/apps/spreadsheeteditor/main/locale/zh.json
index 58f15e442..1a3ac0600 100644
--- a/apps/spreadsheeteditor/main/locale/zh.json
+++ b/apps/spreadsheeteditor/main/locale/zh.json
@@ -40,7 +40,6 @@
"Common.Utils.Metric.txtCm": "厘米",
"Common.Utils.Metric.txtPt": "像素",
"Common.Views.About.txtAddress": "地址:",
- "Common.Views.About.txtAscAddress": "卢巴纳斯125a-25,里加,拉脱维亚,欧盟,LV-1021",
"Common.Views.About.txtLicensee": "被许可人",
"Common.Views.About.txtLicensor": "许可",
"Common.Views.About.txtMail": "电子邮件:",
diff --git a/apps/spreadsheeteditor/mobile/app/template/Settings.template b/apps/spreadsheeteditor/mobile/app/template/Settings.template
index 997c1907a..3151b3e9a 100644
--- a/apps/spreadsheeteditor/mobile/app/template/Settings.template
+++ b/apps/spreadsheeteditor/mobile/app/template/Settings.template
@@ -266,7 +266,7 @@
Ascensio System SIA-Lubanas st. 125a-25, Riga, Latvia, EU, LV-1021 +20A-12 Ernesta Birznieka-Upisha street, Riga, Latvia, EU, LV-1050 diff --git a/apps/spreadsheeteditor/mobile/app/view/Statusbar.js b/apps/spreadsheeteditor/mobile/app/view/Statusbar.js index 18009dce1..c8b6e3996 100644 --- a/apps/spreadsheeteditor/mobile/app/view/Statusbar.js +++ b/apps/spreadsheeteditor/mobile/app/view/Statusbar.js @@ -90,8 +90,8 @@ define([ var $el = tab.get('el'); if ( $el ) { var rightbound = this.$boxTabs.width(); - var left = tab.position().left, - right = left + parseInt(tab.css('width')); + var left = $el.position().left, + right = left + parseInt($el.css('width')); if (left < 0) { this.$boxTabs.scrollLeft(/*this.$boxTabs.scrollLeft() + */left - 26); diff --git a/build/Gruntfile.js b/build/Gruntfile.js index ee1c4194c..858b51f43 100644 --- a/build/Gruntfile.js +++ b/build/Gruntfile.js @@ -423,9 +423,11 @@ module.exports = function(grunt) { grunt.file.write(defaultConfig, JSON.stringify(pkg, null, 4)); }); + //quick workaround for build desktop version + var copyTask = grunt.option('desktop')? "copy": "copy:script"; - grunt.registerTask('deploy-api', ['api-init', 'clean', 'copy', 'replace:writeVersion']); - grunt.registerTask('deploy-sdk', ['sdk-init', 'clean', 'copy']); + grunt.registerTask('deploy-api', ['api-init', 'clean', copyTask, 'replace:writeVersion']); + grunt.registerTask('deploy-sdk', ['sdk-init', 'clean', copyTask]); grunt.registerTask('deploy-sockjs', ['sockjs-init', 'clean', 'copy']); grunt.registerTask('deploy-xregexp', ['xregexp-init', 'clean', 'copy']); @@ -482,4 +484,4 @@ module.exports = function(grunt) { 'deploy-documenteditor-component', 'deploy-spreadsheeteditor-component', 'deploy-presentationeditor-component']); -}; \ No newline at end of file +}; diff --git a/build/common.json b/build/common.json index 67e3bc2ea..94bc724eb 100644 --- a/build/common.json +++ b/build/common.json @@ -48,6 +48,10 @@ "dest": "../deploy/sdkjs/slide/" } ] + }, + "desktop": { + "src": "../../sdkjs/common/HtmlFileInternal/AllFonts.js", + "dest": "../deploy/sdkjs/common/AllFonts.js" } } }, @@ -64,6 +68,10 @@ "!**/*.desktop" ], "dest": "../deploy/web-apps/apps/api/" + }, + "desktop": { + "src": "../apps/api/documents/index.html.desktop", + "dest": "../deploy/web-apps/apps/api/documents/index.html" } } }, |