Commit 96579fd6 authored by Oleg Korshul's avatar Oleg Korshul

1) GetFileHTML plugin method

2) IE reporter mega-bug
parent ad505a5c
......@@ -5946,11 +5946,13 @@ background-repeat: no-repeat;\
return;
}
try
{
this.reporterWindowCounter = 0;
if (!this.reporterWindow)
return;
if ( this.reporterWindow.attachEvent )
if (this.reporterWindow.attachEvent)
this.reporterWindow.detachEvent('onmessage', this.DemonstrationReporterMessages);
else
this.reporterWindow.removeEventListener('message', this.DemonstrationReporterMessages, false);
......@@ -5958,6 +5960,12 @@ background-repeat: no-repeat;\
this.reporterWindow.close();
this.reporterWindow = null;
this.reporterStartObject = null;
}
catch (err)
{
this.reporterWindow = null;
this.reporterStartObject = null;
}
};
asc_docs_api.prototype.DemonstrationReporterMessages = function(e)
......
......@@ -8292,6 +8292,11 @@ background-repeat: no-repeat;\
return this.asc_GetCurrentContentControl();
};
window["asc_docs_api"].prototype["pluginMethod_GetFileHTML"] = function()
{
return this.ContentToHTML(true);
};
/********************************************************************/
asc_docs_api.prototype.asc_OnHideContextMenu = function()
......
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