From b129bc39cb9834504c933b28e919967ab7276f7d Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Tue, 1 May 2012 07:35:00 +0100 Subject: [PATCH] Save now works with stickyTabs, plus minor improvements When you save, if there is a stickyTab window, it reloads Popups for images now have white glow around them, plus fix to text color Moved clearing the server message to cover images too --- lib/file-control.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/file-control.php b/lib/file-control.php index b9d4ce2..3548372 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -152,7 +152,7 @@ if ($_GET['action']=="save") { if (isset($_POST['newFileName'])&&$_POST['newFileName']!="") { echo ''; } - echo ''; + echo ''; } else { echo ""; echo ''; @@ -193,15 +193,16 @@ if (action=="load") { top.ICEcoder.content.contentWindow['cM'+top.ICEcoder.cMInstances[top.ICEcoder.selectedTab-1]].setLineClass(top.ICEcoder['cMActiveLine'+top.ICEcoder.selectedTab], null); top.ICEcoder['cMActiveLine'+top.ICEcoder.selectedTab] = top.ICEcoder.content.contentWindow['cM'+top.ICEcoder.cMInstances[top.ICEcoder.selectedTab-1]].setLineClass(0, "cm-s-activeLine"); top.ICEcoder.nextcMInstance++; - top.ICEcoder.serverMessage(); - top.ICEcoder.serverQueue("del",0); top.ICEcoder.loadingFile = false; } if (fileType=="image") { top.document.getElementById('blackMask').style.visibility = "visible"; - top.document.getElementById('mediaContainer').innerHTML = "\" style=\"border: solid 10px #ffffff; max-width: 700px; max-height: 500px\" onClick=\"return false\">
"; + top.document.getElementById('mediaContainer').innerHTML = "\" class=\"whiteGlow\" style=\"border: solid 10px #ffffff; max-width: 700px; max-height: 500px\" onClick=\"return false\">
"; } + + top.ICEcoder.serverMessage(); + top.ICEcoder.serverQueue("del",0); }