mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 07:41:23 +08:00
Get ole object
This commit is contained in:
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user