[DE] Fix Bug 44212

This commit is contained in:
Julia Radzhabova 2020-02-05 14:33:31 +03:00 committed by Alexey Golubev
parent a6ad8356f6
commit 65577df595

View file

@ -4146,6 +4146,11 @@ define([
this.onShowDateActions(obj, x, y); this.onShowDateActions(obj, x, y);
break; break;
case Asc.c_oAscContentControlSpecificType.Picture: case Asc.c_oAscContentControlSpecificType.Picture:
if (obj.pr && obj.pr.get_Lock) {
var lock = obj.pr.get_Lock();
if (lock == Asc.c_oAscSdtLockType.SdtContentLocked || lock==Asc.c_oAscSdtLockType.ContentLocked)
return;
}
this.api.asc_addImage(obj); this.api.asc_addImage(obj);
break; break;
case Asc.c_oAscContentControlSpecificType.DropDownList: case Asc.c_oAscContentControlSpecificType.DropDownList: