Get ole object

This commit is contained in:
Julia Radzhabova 2022-03-29 11:08:54 +03:00
parent 7268073d19
commit 68397ea56b
3 changed files with 3 additions and 3 deletions

View file

@ -182,7 +182,7 @@ define([
this.btnEditObject.on('click', _.bind(function(btn){
if (this.api) {
var oleobj = this.api.asc_canEditTableOleObject();
var oleobj = this.api.asc_canEditTableOleObject(true);
if (oleobj) {
var oleEditor = DE.getController('Common.Controllers.ExternalOleEditor').getView('Common.Views.ExternalOleEditor');
if (oleEditor) {

View file

@ -149,7 +149,7 @@ define([
this.btnOriginalSize.on('click', _.bind(this.setOriginalSize, this));
this.btnEditObject.on('click', _.bind(function(btn){
if (this.api) {
var oleobj = this.api.asc_canEditTableOleObject();
var oleobj = this.api.asc_canEditTableOleObject(true);
if (oleobj) {
var oleEditor = PE.getController('Common.Controllers.ExternalOleEditor').getView('Common.Views.ExternalOleEditor');
if (oleEditor) {

View file

@ -216,7 +216,7 @@ define([
this.btnOriginalSize.on('click', _.bind(this.setOriginalSize, this));
this.btnEditObject.on('click', _.bind(function(btn){
if (this.api) {
var oleobj = this.api.asc_canEditTableOleObject();
var oleobj = this.api.asc_canEditTableOleObject(true);
if (oleobj) {
var oleEditor = SSE.getController('Common.Controllers.ExternalOleEditor').getView('Common.Views.ExternalOleEditor');
if (oleEditor) {