On save trigger doStatsJS after

Window content will reload, then append plugin afterwards
This commit is contained in:
Matt Pass
2014-10-28 09:19:34 +00:00
parent 5b88f7172b
commit 9b7d987d0b

View File

@@ -387,6 +387,8 @@ if ($_GET['action']=="save") {
top.ICEcoder.previewWindow.location.reload();
// Do the pesticide plugin if it exists
try {top.ICEcoder.doPesticide();} catch(err) {};
// Do the stats.js plugin if it exists
try {top.ICEcoder.doStatsJS(\'save\');} catch(err) {};
};';
echo 'top.ICEcoder.setPreviousFiles();setTimeout(function(){top.ICEcoder.indicateChanges()},4);action="doneSave";';
// Run our custom processes