Commit 2d4d44c4 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

метод в api вместо fireCallback

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57038 954022d7-b5bf-4e40-9824-e11837661b57
parent 58c4f235
...@@ -974,7 +974,7 @@ CGraphicObjects.prototype = ...@@ -974,7 +974,7 @@ CGraphicObjects.prototype =
{ {
if(false === this.document.Document_Is_SelectionLocked(changestype_Drawing_Props, {Type : changestype_2_Element_and_Type , Element : drawing, CheckType : changestype_Paragraph_Content} )) if(false === this.document.Document_Is_SelectionLocked(changestype_Drawing_Props, {Type : changestype_2_Element_and_Type , Element : drawing, CheckType : changestype_Paragraph_Content} ))
{ {
editor.asc_fireCallback("asc_doubleClickOnChart", this.getChartObject()); editor.asc_doubleClickOnChart(this.getChartObject());
this.changeCurrentState(new NullState(this)); this.changeCurrentState(new NullState(this));
} }
}, },
......
...@@ -7609,6 +7609,10 @@ asc_docs_api.prototype.asc_addChartDrawingObject = function(options) ...@@ -7609,6 +7609,10 @@ asc_docs_api.prototype.asc_addChartDrawingObject = function(options)
this.WordControl.m_oLogicDocument.Add_InlineImage( null, null, null, options ); this.WordControl.m_oLogicDocument.Add_InlineImage( null, null, null, options );
} }
}; };
asc_docs_api.prototype.asc_doubleClickOnChart = function(obj)
{
this.asc_fireCallback("asc_doubleClickOnChart", obj);
};
asc_docs_api.prototype.asc_editChartDrawingObject = function(chartBinary) asc_docs_api.prototype.asc_editChartDrawingObject = function(chartBinary)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment