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

1) GetFileHTML plugin method

2) IE reporter mega-bug
parent ad505a5c
......@@ -5946,18 +5946,26 @@ background-repeat: no-repeat;\
return;
}
this.reporterWindowCounter = 0;
if (!this.reporterWindow)
return;
try
{
this.reporterWindowCounter = 0;
if (!this.reporterWindow)
return;
if ( this.reporterWindow.attachEvent )
this.reporterWindow.detachEvent('onmessage', this.DemonstrationReporterMessages);
else
this.reporterWindow.removeEventListener('message', this.DemonstrationReporterMessages, false);
if (this.reporterWindow.attachEvent)
this.reporterWindow.detachEvent('onmessage', this.DemonstrationReporterMessages);
else
this.reporterWindow.removeEventListener('message', this.DemonstrationReporterMessages, false);
this.reporterWindow.close();
this.reporterWindow = null;
this.reporterStartObject = null;
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