mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-05 16:24:00 +01:00
On save trigger doStatsJS after
Window content will reload, then append plugin afterwards
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user