Merge branch 'develop' into feature/newembed
This commit is contained in:
commit
5e45c1f9e5
|
@ -1222,12 +1222,14 @@ define([
|
||||||
|
|
||||||
for (i = 0; i < comments.length; ++i) {
|
for (i = 0; i < comments.length; ++i) {
|
||||||
comment = this.findComment(comments[i].asc_getId());
|
comment = this.findComment(comments[i].asc_getId());
|
||||||
|
if (comment) {
|
||||||
comment.set('editTextInPopover', true);
|
comment.set('editTextInPopover', true);
|
||||||
comment.set('hint', false);
|
comment.set('hint', false);
|
||||||
this.popoverComments.push(comment);
|
this.popoverComments.push(comment);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (this.getPopover()) {
|
if (this.getPopover() && this.popoverComments.length>0) {
|
||||||
if (this.getPopover().isVisible()) {
|
if (this.getPopover().isVisible()) {
|
||||||
this.getPopover().hide();
|
this.getPopover().hide();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1335,11 +1335,8 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onFocusObject: function(SelectedObjects) {
|
onFocusObject: function(SelectedObjects) {
|
||||||
if (SelectedObjects.length>0) {
|
|
||||||
var rightpan = this.getApplication().getController('RightMenu');
|
var rightpan = this.getApplication().getController('RightMenu');
|
||||||
// var docPreview = this.getApplication().getController('Viewport').getView('DocumentPreview');
|
if (rightpan) rightpan.onFocusObject.call(rightpan, SelectedObjects);
|
||||||
if (rightpan /*&& !docPreview.isVisible()*/) rightpan.onFocusObject.call(rightpan, SelectedObjects);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_onChangeObjectLock: function() {
|
_onChangeObjectLock: function() {
|
||||||
|
|
|
@ -114,7 +114,7 @@ define([
|
||||||
this._settings[i].locked = undefined;
|
this._settings[i].locked = undefined;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this._settings[Common.Utils.documentSettingsType.Slide].hidden = 0;
|
this._settings[Common.Utils.documentSettingsType.Slide].hidden = (SelectedObjects.length>0) ? 0 : 1;
|
||||||
|
|
||||||
for (i=0; i<SelectedObjects.length; i++)
|
for (i=0; i<SelectedObjects.length; i++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1454,6 +1454,14 @@ define([
|
||||||
}, 10);
|
}, 10);
|
||||||
} else {
|
} else {
|
||||||
this.documentHolder.entriesMenu.hide();
|
this.documentHolder.entriesMenu.hide();
|
||||||
|
Common.UI.warning({
|
||||||
|
title: this.notcriticalErrorTitle,
|
||||||
|
maxwidth: 600,
|
||||||
|
msg : this.txtNoChoices,
|
||||||
|
callback: _.bind(function(btn){
|
||||||
|
Common.NotificationCenter.trigger('edit:complete', this.documentHolder);
|
||||||
|
}, this)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -2282,7 +2290,8 @@ define([
|
||||||
insertColumnRightText : 'Column Right',
|
insertColumnRightText : 'Column Right',
|
||||||
deleteText : 'Delete',
|
deleteText : 'Delete',
|
||||||
deleteRowText : 'Delete Row',
|
deleteRowText : 'Delete Row',
|
||||||
deleteColumnText : 'Delete Column'
|
deleteColumnText : 'Delete Column',
|
||||||
|
txtNoChoices: 'There are no choices for filling the cell.<br>Only text values from the column can be selected for replacement.'
|
||||||
|
|
||||||
}, SSE.Controllers.DocumentHolder || {}));
|
}, SSE.Controllers.DocumentHolder || {}));
|
||||||
});
|
});
|
|
@ -1419,7 +1419,6 @@ define([
|
||||||
var me = this;
|
var me = this;
|
||||||
if (id == Asc.c_oAscConfirm.ConfirmReplaceRange) {
|
if (id == Asc.c_oAscConfirm.ConfirmReplaceRange) {
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
closable: false,
|
|
||||||
title: this.notcriticalErrorTitle,
|
title: this.notcriticalErrorTitle,
|
||||||
msg: this.confirmMoveCellRange,
|
msg: this.confirmMoveCellRange,
|
||||||
buttons: ['yes', 'no'],
|
buttons: ['yes', 'no'],
|
||||||
|
|
|
@ -172,6 +172,7 @@
|
||||||
"SSE.Controllers.DocumentHolder.txtLimitUnder": "Limit under text",
|
"SSE.Controllers.DocumentHolder.txtLimitUnder": "Limit under text",
|
||||||
"SSE.Controllers.DocumentHolder.txtMatchBrackets": "Match brackets to argument height",
|
"SSE.Controllers.DocumentHolder.txtMatchBrackets": "Match brackets to argument height",
|
||||||
"SSE.Controllers.DocumentHolder.txtMatrixAlign": "Matrix alignment",
|
"SSE.Controllers.DocumentHolder.txtMatrixAlign": "Matrix alignment",
|
||||||
|
"SSE.Controllers.DocumentHolder.txtNoChoices": "There are no choices for filling the cell.<br>Only text values from the column can be selected for replacement.",
|
||||||
"SSE.Controllers.DocumentHolder.txtOverbar": "Bar over text",
|
"SSE.Controllers.DocumentHolder.txtOverbar": "Bar over text",
|
||||||
"SSE.Controllers.DocumentHolder.txtRemFractionBar": "Remove fraction bar",
|
"SSE.Controllers.DocumentHolder.txtRemFractionBar": "Remove fraction bar",
|
||||||
"SSE.Controllers.DocumentHolder.txtRemLimit": "Remove limit",
|
"SSE.Controllers.DocumentHolder.txtRemLimit": "Remove limit",
|
||||||
|
|
Loading…
Reference in a new issue