diff --git a/index.php b/index.php index a14499d..39f8199 100644 --- a/index.php +++ b/index.php @@ -286,7 +286,7 @@ $t = $text['index']; ?>
+
-
+
@@ -316,8 +316,9 @@ $t = $text['index'];
- - + + +
"> diff --git a/lib/multiple-results.php b/lib/multiple-results.php index 8f9b336..a594bae 100644 --- a/lib/multiple-results.php +++ b/lib/multiple-results.php @@ -266,8 +266,13 @@ if (true === isset($_GET['target']) && false !== strpos($_GET['target'], "filena parent.document.findAndReplace.connector.selectedIndex = 0; parent.ICEcoder.findReplaceOptions(); parent.document.findAndReplace.target.selectedIndex = 0; - // Submit to select first instance - parent.ICEcoder.findReplace(parent.document.getElementById('find').value, false, true, false); + // Re-show the results stats + parent.document.getElementById('results').style.display = 'inline-block'; + // Action the find and then focus on find input box + setTimeout(function() { + parent.ICEcoder.findReplace(parent.document.getElementById('find').value, true, false, false); + parent.document.getElementById("find").focus(); + }, 0); };