Commit 3facb873 authored by Oleg Korshul's avatar Oleg Korshul

bug with restart plugin

parent d0e86538
...@@ -155,6 +155,7 @@ ...@@ -155,6 +155,7 @@
if (true) if (true)
{ {
this.api.asc_fireCallback("asc_onPluginClose");
var _div = document.getElementById("plugin_iframe"); var _div = document.getElementById("plugin_iframe");
if (_div) if (_div)
_div.parentNode.removeChild(_div); _div.parentNode.removeChild(_div);
...@@ -166,7 +167,6 @@ ...@@ -166,7 +167,6 @@
this.run(this.runAndCloseData.guid, this.runAndCloseData.variation, this.runAndCloseData.data); this.run(this.runAndCloseData.guid, this.runAndCloseData.variation, this.runAndCloseData.data);
this.runAndCloseData = null; this.runAndCloseData = null;
} }
this.api.asc_fireCallback("asc_onPluginClose");
}, },
show : function() 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