diff options
Diffstat (limited to 'ancestry.php')
| -rw-r--r-- | ancestry.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ancestry.php b/ancestry.php index 60ef46c972..27c05dee7d 100644 --- a/ancestry.php +++ b/ancestry.php @@ -30,7 +30,8 @@ require_once WT_ROOT.'includes/functions/functions_print_lists.php'; $controller=new WT_Controller_Ancestry(); $controller ->pageHeader() - ->addExternalJavascript(WT_STATIC_URL.'js/autocomplete.js'); + ->addExternalJavascript(WT_STATIC_URL . 'js/autocomplete.js') + ->addInlineJavascript('autocomplete();'); ?> <div id="ancestry-page"> @@ -45,7 +46,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"> |
