diff options
Diffstat (limited to 'descendancy.php')
| -rw-r--r-- | descendancy.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/descendancy.php b/descendancy.php index 4dbe52d6b0..89bd917679 100644 --- a/descendancy.php +++ b/descendancy.php @@ -29,7 +29,8 @@ require_once WT_ROOT.'includes/functions/functions_print_lists.php'; $controller=new WT_Controller_Descendancy(); $controller ->pageHeader() - ->addExternalJavascript(WT_STATIC_URL.'js/autocomplete.js'); + ->addExternalJavascript(WT_STATIC_URL . 'js/autocomplete.js') + ->addInlineJavascript('autocomplete();'); ?> <div id="descendancy-page"><h2><?php echo $controller->getPageTitle(); ?></h2> @@ -42,7 +43,7 @@ $controller <?php echo WT_I18N::translate('Individual'); ?> </td> <td class="optionbox"> - <input class="pedigree_form" type="text" id="rootid" name="rootid" size="3" value="<?php echo $controller->rootid; ?>"> + <input class="pedigree_form" data-autocomplete-type="INDI" type="text" id="rootid" name="rootid" size="3" value="<?php echo $controller->rootid; ?>"> <?php echo print_findindi_link('rootid'); ?> </td> <td class="descriptionbox"> |
