From f2d06a1a2c9a757066bc8754a32ccba4bfcf2666 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Wed, 18 Jun 2014 07:37:08 +0100 Subject: [PATCH] Function moved to ICEcoder.indicateChanges() --- editor.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/editor.php b/editor.php index 003e57b..25d4ff5 100644 --- a/editor.php +++ b/editor.php @@ -276,17 +276,7 @@ function createNewCMInstance(num) { try {top.ICEcoder.doPesticide();} catch(err) {}; } // Update the title tag to indicate any changes - if (!top.ICEcoder.loadingFile) { - var winTitle = "ICEcoder v "+top.ICEcoder.versionNo; - for(var i=1;i<=top.ICEcoder.savedPoints.length;i++) { - if (top.ICEcoder.savedPoints[i-1]!=top.ICEcoder.getcMInstance(top.ICEcoder.cMInstances[i-1]).changeGeneration()) { - // We have an unsaved tab, indicate that in the title - winTitle += " *"; - break; - } - } - top.document.title = winTitle; - } + top.ICEcoder.indicateChanges(); } );