summaryrefslogtreecommitdiff
path: root/fanchart.php
diff options
context:
space:
mode:
Diffstat (limited to 'fanchart.php')
-rw-r--r--fanchart.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/fanchart.php b/fanchart.php
index a7760051e3..344497f8c2 100644
--- a/fanchart.php
+++ b/fanchart.php
@@ -35,7 +35,8 @@ if (WT_Filter::getBool('img')) {
$controller
->pageHeader()
- ->addExternalJavascript(WT_STATIC_URL.'js/autocomplete.js');
+ ->addExternalJavascript(WT_STATIC_URL . 'js/autocomplete.js')
+ ->addInlineJavascript('autocomplete();');
?>
<div id="page-fan">
@@ -48,7 +49,7 @@ $controller
<?php echo WT_I18N::translate('Individual'); ?>
</td>
<td class="optionbox">
- <input class="pedigree_form" type="text" name="rootid" id="rootid" size="3" value="<?php echo $controller->rootid; ?>">
+ <input class="pedigree_form" data-autocomplete-type="INDI" type="text" name="rootid" id="rootid" size="3" value="<?php echo $controller->rootid; ?>">
<?php echo print_findindi_link('rootid'); ?>
</td>
<td class="descriptionbox">