summaryrefslogtreecommitdiff
path: root/individual.php
diff options
context:
space:
mode:
authorMatthew Noorenberghe <github@matthew.noorenberghe.com>2014-02-24 00:16:27 -0800
committerMatthew Noorenberghe <github@matthew.noorenberghe.com>2014-02-24 00:16:42 -0800
commit415fde9420ceb576e5fe2e03247208ae619bc870 (patch)
tree08d8f99b3d2ccdf83a4a7f5fb75a7465fbf6a966 /individual.php
parentc02486878261b741905eb3102c62bf68d746ca90 (diff)
downloadwebtrees-415fde9420ceb576e5fe2e03247208ae619bc870.tar.gz
webtrees-415fde9420ceb576e5fe2e03247208ae619bc870.tar.bz2
webtrees-415fde9420ceb576e5fe2e03247208ae619bc870.zip
Consolidate paste_*, pastename and openerpasteid implementations
pasteid is left alone for now
Diffstat (limited to 'individual.php')
-rw-r--r--individual.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/individual.php b/individual.php
index 39473773a9..7bb0c72c6a 100644
--- a/individual.php
+++ b/individual.php
@@ -29,8 +29,7 @@ define('WT_SCRIPT_NAME', 'individual.php');
require './includes/session.php';
$controller=new WT_Controller_Individual();
$controller
- ->addExternalJavascript(WT_JQUERY_COOKIE_URL) // We use this to record the sidebar state
- ->addInlineJavascript('var catch_and_ignore; function paste_id(value) {catch_and_ignore = value;}'); // For the "find" links
+ ->addExternalJavascript(WT_JQUERY_COOKIE_URL); // We use this to record the sidebar state
if ($controller->record && $controller->record->canShow()) {
if (WT_Filter::get('action')=='ajax') {