Fix Bug 70733 (+ fix click on placeholders in PE)

This commit is contained in:
Julia Radzhabova
2024-12-24 20:44:05 +03:00
parent f2d1306ef6
commit 22f09d0ae8
4 changed files with 46 additions and 23 deletions

View File

@ -1200,7 +1200,9 @@ define([
var me = this;
switch (obj.type) {
case Asc.c_oAscContentControlSpecificType.DateTime:
this.onShowDateActions(obj, x, y);
setTimeout(function() {
me.onShowDateActions(obj, x, y);
}, 1);
break;
case Asc.c_oAscContentControlSpecificType.Picture:
if (obj.pr && obj.pr.get_Lock) {
@ -1214,11 +1216,15 @@ define([
me.api.asc_UncheckContentControlButtons();
}, 500);
} else
this.onShowImageActions(obj, x, y);
setTimeout(function() {
me.onShowImageActions(obj, x, y);
}, 1);
break;
case Asc.c_oAscContentControlSpecificType.DropDownList:
case Asc.c_oAscContentControlSpecificType.ComboBox:
this.onShowListActions(obj, x, y);
setTimeout(function() {
me.onShowListActions(obj, x, y);
}, 1);
break;
}
},