Get ole object
This commit is contained in:
parent
7268073d19
commit
68397ea56b
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue