From 84fefcbad0ab15b145c328c7019ad7d8a28b68ea Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Fri, 18 Sep 2015 10:49:48 +0100 Subject: [PATCH] On opening file, push in version count and display --- lib/file-control.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/file-control.php b/lib/file-control.php index a511d0e..dddd8cd 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -185,6 +185,9 @@ if (action=="load") { top.ICEcoder['cMActiveLinecM'+top.ICEcoder.selectedTab] = top.ICEcoder.content.contentWindow['cM'+top.ICEcoder.cMInstances[top.ICEcoder.selectedTab-1]].addLineClass(0, "background", "cm-s-activeLine"); top.ICEcoder.nextcMInstance++; top.ICEcoder.openFileMDTs.push(''); + top.ICEcoder.openFileVersions.push(); + top.ICEcoder.updateVersionsDisplay(); + for (var i=0; i-1?"brace":"xml",null,"+","-",true)(cM, i); }