summaryrefslogtreecommitdiff
path: root/hourglass_ajax.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2013-02-06 22:28:50 +0000
committerfisharebest <fisharebest@gmail.com>2013-02-06 22:28:50 +0000
commitf8269f4d23bdd1e3749fd7ed6ebbbd642b4c759c (patch)
tree6e8b5c2d8d96498934908abf4ceadc9ee32b0a57 /hourglass_ajax.php
parentb6926a72973f5c1efcf52f0edcc4687cb5f25dbc (diff)
downloadwebtrees-f8269f4d23bdd1e3749fd7ed6ebbbd642b4c759c.tar.gz
webtrees-f8269f4d23bdd1e3749fd7ed6ebbbd642b4c759c.tar.bz2
webtrees-f8269f4d23bdd1e3749fd7ed6ebbbd642b4c759c.zip
Previously, AJAX pages loaded their own copies of JS libraries (to work around limitation in old versions of jquery?). Don't do this any more - it breaks jQuery extensions, by re-creating the jQuery object. This also has the benefit of making the home page more responsive.
Diffstat (limited to 'hourglass_ajax.php')
-rw-r--r--hourglass_ajax.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/hourglass_ajax.php b/hourglass_ajax.php
index d542a1865b..e73242755e 100644
--- a/hourglass_ajax.php
+++ b/hourglass_ajax.php
@@ -4,7 +4,7 @@
// Set the root person using the $pid variable
//
// webtrees: Web based Family History software
-// Copyright (C) 2011 webtrees development team.
+// Copyright (C) 2013 webtrees development team.
//
// Derived from PhpGedView
// Copyright (C) 2002 to 2007 John Finlay and Others
@@ -37,6 +37,9 @@ require './includes/session.php';
$controller=new WT_Controller_Hourglass();
header('Content-type: text/html; charset=UTF-8');
+
+Zend_Session::writeClose();
+
// -- print html header information
if (isset($_REQUEST['type']) && $_REQUEST['type']=='desc')
$controller->print_descendency(WT_Person::getInstance($controller->pid), 1, false);