diff --git a/apps/common/main/lib/component/TabBar.js b/apps/common/main/lib/component/TabBar.js
index 8a0a84a0f..19ac737ee 100644
--- a/apps/common/main/lib/component/TabBar.js
+++ b/apps/common/main/lib/component/TabBar.js
@@ -241,7 +241,7 @@ define([
lockDrag = true;
}
});
- if (this.bar.selectTabs.length === this.bar.tabs.length || this.bar.tabs.length === 1) {
+ if (this.bar.selectTabs.length === this.bar.tabs.length || this.bar.tabs.length === 1 || this.bar.isEditFormula) {
lockDrag = true;
}
this.bar.$el.find('ul > li > span').attr('draggable', !lockDrag);
diff --git a/apps/common/main/lib/view/Header.js b/apps/common/main/lib/view/Header.js
index 99d14aced..5ce8af24e 100644
--- a/apps/common/main/lib/view/Header.js
+++ b/apps/common/main/lib/view/Header.js
@@ -117,7 +117,6 @@ define([
'
diff --git a/apps/spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.template b/apps/spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.template
index d61f2be90..1ebab4738 100644
--- a/apps/spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.template
+++ b/apps/spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.template
@@ -52,7 +52,7 @@
-
+
diff --git a/apps/spreadsheeteditor/main/app/view/PivotSettings.js b/apps/spreadsheeteditor/main/app/view/PivotSettings.js
index 5c6a8ee26..b6738db20 100644
--- a/apps/spreadsheeteditor/main/app/view/PivotSettings.js
+++ b/apps/spreadsheeteditor/main/app/view/PivotSettings.js
@@ -371,6 +371,7 @@ define([
handler: function(result, value) {
if (result == 'ok' && me.api && value) {
me._originalProps.asc_set(me.api, value);
+ Common.NotificationCenter.trigger('edit:complete', me);
}
Common.NotificationCenter.trigger('edit:complete', me);
@@ -646,10 +647,6 @@ define([
if (isLabel || event.target.className.match('checkbox')) {
this.updateFieldCheck(listView, record);
-
- _.delay(function () {
- listView.$el.find('.listview').focus();
- }, 100, this);
}
}
},
@@ -665,6 +662,7 @@ define([
} else {
this._originalProps.asc_removeField(this.api, record.get('index'));
}
+ Common.NotificationCenter.trigger('edit:complete', this);
}
// listView.isSuspendEvents = false;
@@ -830,6 +828,7 @@ define([
handler: function(result, value) {
if (result == 'ok' && me.api && value) {
field.asc_set(me.api, me._originalProps, dataIndex, value);
+ Common.NotificationCenter.trigger('edit:complete', me);
}
Common.NotificationCenter.trigger('edit:complete', me);
@@ -848,6 +847,7 @@ define([
handler: function(result, value) {
if (result == 'ok' && me.api && value) {
pivotField.asc_set(me.api, me._originalProps, pivotIndex, value);
+ Common.NotificationCenter.trigger('edit:complete', me);
}
Common.NotificationCenter.trigger('edit:complete', me);
@@ -860,24 +860,28 @@ define([
onAddFilter: function(index, moveTo) {
if (this.api && !this._locked && this._state.field){
this._originalProps.asc_addPageField(this.api, _.isNumber(index) ? index : this._state.field.record.get('index'), _.isNumber(moveTo) ? moveTo : undefined);
+ Common.NotificationCenter.trigger('edit:complete', this);
}
},
onAddRow: function(index, moveTo) {
if (this.api && !this._locked && this._state.field){
this._originalProps.asc_addRowField(this.api, _.isNumber(index) ? index : this._state.field.record.get('index'), _.isNumber(moveTo) ? moveTo : undefined);
+ Common.NotificationCenter.trigger('edit:complete', this);
}
},
onAddColumn: function(index, moveTo) {
if (this.api && !this._locked && this._state.field){
this._originalProps.asc_addColField(this.api, _.isNumber(index) ? index : this._state.field.record.get('index'), _.isNumber(moveTo) ? moveTo : undefined);
+ Common.NotificationCenter.trigger('edit:complete', this);
}
},
onAddValues: function(index, moveTo) {
if (this.api && !this._locked && this._state.field){
this._originalProps.asc_addDataField(this.api, _.isNumber(index) ? index : this._state.field.record.get('index'), _.isNumber(moveTo) ? moveTo : undefined);
+ Common.NotificationCenter.trigger('edit:complete', this);
}
},
@@ -887,6 +891,7 @@ define([
this._originalProps.asc_removeDataField(this.api, _.isNumber(pivotindex) ? pivotindex : this._state.field.record.get('pivotIndex'), _.isNumber(index) ? index : this._state.field.record.get('index'));
else
this._originalProps.asc_removeNoDataField(this.api, _.isNumber(pivotindex) ? pivotindex : this._state.field.record.get('pivotIndex'));
+ Common.NotificationCenter.trigger('edit:complete', this);
}
},
@@ -933,6 +938,7 @@ define([
this._originalProps.asc_movePageField(this.api, from, to);
break;
}
+ Common.NotificationCenter.trigger('edit:complete', this);
},
onMoveTo: function(type, pivotindex, to) {
@@ -953,6 +959,7 @@ define([
this._originalProps.asc_moveToPageField(this.api, pivotIndex, index);
break;
}
+ Common.NotificationCenter.trigger('edit:complete', this);
}
},
diff --git a/apps/spreadsheeteditor/main/app/view/PivotTable.js b/apps/spreadsheeteditor/main/app/view/PivotTable.js
index 34e292abd..023e61e7a 100644
--- a/apps/spreadsheeteditor/main/app/view/PivotTable.js
+++ b/apps/spreadsheeteditor/main/app/view/PivotTable.js
@@ -183,7 +183,7 @@ define([
iconCls: 'toolbar__icon btn-pivot-sum',
caption: this.txtCreate,
disabled : false,
- lock : [_set.lostConnect, _set.coAuth, _set.editPivot, _set.selRangeEdit, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selSlicer]
+ lock : [_set.lostConnect, _set.coAuth, _set.editPivot, _set.selRangeEdit, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selSlicer, _set.editCell]
});
this.btnPivotLayout = new Common.UI.Button({
diff --git a/apps/spreadsheeteditor/main/resources/less/statusbar.less b/apps/spreadsheeteditor/main/resources/less/statusbar.less
index 3d03bc64e..650e1cf2c 100644
--- a/apps/spreadsheeteditor/main/resources/less/statusbar.less
+++ b/apps/spreadsheeteditor/main/resources/less/statusbar.less
@@ -246,10 +246,17 @@
&.mousemove {
+ &:first-child {
+ > span {
+ padding-left: 8px;
+ }
+ }
+
> span {
border-left: 2px solid @gray-deep;
padding-left: 9px;
}
+
&.right {
> span {
border-left: 1px solid @gray-dark;
diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json
index bc86b395d..1f82bb368 100644
--- a/apps/spreadsheeteditor/mobile/locale/en.json
+++ b/apps/spreadsheeteditor/mobile/locale/en.json
@@ -198,6 +198,7 @@
"SSE.Controllers.Main.errorUnexpectedGuid": "External error. Unexpected GUID. Please contact support in case the error persists.",
"SSE.Controllers.Main.errorUpdateVersion": "The file version has been changed. The page will be reloaded.",
"SSE.Controllers.Main.errorUpdateVersionOnDisconnect": "Internet connection has been restored, and the file version has been changed. Before you can continue working, you need to download the file or copy its content to make sure nothing is lost, and then reload this page.",
+ "SSE.Controllers.Main.errorOpensource": "Using the free Community version you can open documents for viewing only. To access mobile web editors, a commercial license is required.",
"SSE.Controllers.Main.errorUserDrop": "The file cannot be accessed right now.",
"SSE.Controllers.Main.errorUsersExceed": "The number of users allowed by the pricing plan was exceeded",
"SSE.Controllers.Main.errorViewerDisconnect": "Connection is lost. You can still view the document, but will not be able to download it until the connection is restored and page is reloaded.",
|