Commit d2c040ea authored by Oleg Korshul's avatar Oleg Korshul Committed by GitHub

Merge pull request #29 from ONLYOFFICE/release/v4.0

bug with restart plugin
parents 407c920f 3facb873
......@@ -155,6 +155,7 @@
if (true)
{
this.api.asc_fireCallback("asc_onPluginClose");
var _div = document.getElementById("plugin_iframe");
if (_div)
_div.parentNode.removeChild(_div);
......@@ -166,7 +167,6 @@
this.run(this.runAndCloseData.guid, this.runAndCloseData.variation, this.runAndCloseData.data);
this.runAndCloseData = null;
}
this.api.asc_fireCallback("asc_onPluginClose");
},
show : 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