mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Function moved to ICEcoder.indicateChanges()
This commit is contained in:
12
editor.php
12
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();
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user