summaryrefslogtreecommitdiff
path: root/find.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2012-07-07 06:11:43 +0000
committerfisharebest <fisharebest@gmail.com>2012-07-07 06:11:43 +0000
commitfcd8b8b16ac713f44685a99ab6399456e999b9e0 (patch)
tree7901eb919c22803c3929a22dc80343b07d389ed2 /find.php
parentd09981ccdcb6b66dfde8bc37c0de33c8b8c14032 (diff)
downloadwebtrees-fcd8b8b16ac713f44685a99ab6399456e999b9e0.tar.gz
webtrees-fcd8b8b16ac713f44685a99ab6399456e999b9e0.tar.bz2
webtrees-fcd8b8b16ac713f44685a99ab6399456e999b9e0.zip
Tidy up the "showchanges()" logic. The option to hide/show changes was removed a very long time ago.
Diffstat (limited to 'find.php')
-rw-r--r--find.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/find.php b/find.php
index 83cd88ed50..f59aa2c258 100644
--- a/find.php
+++ b/find.php
@@ -831,7 +831,7 @@ if ($action=="filter") {
echo '</p></div>';
}
}
-echo '<h4><a href="#" onclick="if (window.opener.showchanges) window.opener.showchanges(); window.close();">', WT_I18N::translate('Close Window'), '</a></h4>';
+echo '<h4><a href="#" onclick="window.close();">', WT_I18N::translate('Close Window'), '</a></h4>';
echo "</div>"; // Close div="find-page"
// Set focus to the input field