This commit is contained in:
Julia Radzhabova 2019-01-11 14:02:28 +03:00
parent 654902b5d7
commit 54ef4fba40
8 changed files with 16 additions and 2 deletions

View file

@ -148,6 +148,8 @@ define([
};
function applyUsers(count, originalCount) {
if (!$btnUsers) return;
var has_edit_users = count > 1 || count > 0 && appConfig && !appConfig.isEdit && !appConfig.isRestrictedEdit; // has other user(s) who edit document
if ( has_edit_users ) {
$btnUsers

View file

@ -265,6 +265,8 @@ define([
},
_initBorderColorView: function () {
if (!_shapeObject) return;
var me = this,
paletteBorderColor = me.getView('EditChart').paletteBorderColor,
stroke = _shapeObject.get_ShapeProperties().get_stroke();

View file

@ -261,6 +261,8 @@ define([
},
_initBorderColorView: function () {
if (!_shapeObject) return;
var me = this,
paletteBorderColor = me.getView('EditShape').paletteBorderColor,
stroke = _shapeObject.get_ShapeProperties().get_stroke();

View file

@ -226,7 +226,7 @@ define([
this.$el.show();
this.selectMenu(panel, defPanel);
this.api.asc_enableKeyEvents(false);
this.api && this.api.asc_enableKeyEvents(false);
this.fireEvent('menu:show', [this]);
},
@ -234,7 +234,7 @@ define([
hide: function() {
this.$el.hide();
this.fireEvent('menu:hide', [this]);
this.api.asc_enableKeyEvents(true);
this.api && this.api.asc_enableKeyEvents(true);
},
applyMode: function() {

View file

@ -199,6 +199,8 @@ define([
},
_initBorderColorView: function () {
if (!_shapeObject) return;
var me = this,
paletteBorderColor = me.getView('EditChart').paletteBorderColor,
stroke = _shapeObject.get_stroke();

View file

@ -194,6 +194,8 @@ define([
},
_initBorderColorView: function () {
if (!_shapeObject) return;
var me = this,
paletteBorderColor = me.getView('EditShape').paletteBorderColor,
stroke = _shapeObject.get_stroke();

View file

@ -230,6 +230,8 @@ define([
},
_initBorderColorView: function () {
if (!_shapeObject) return;
var me = this,
stroke = _shapeObject.get_ShapeProperties().get_stroke();

View file

@ -199,6 +199,8 @@ define([
},
_initBorderColorView: function () {
if (!_shapeObject) return;
var me = this,
stroke = _shapeObject.get_ShapeProperties().get_stroke();