diff options
| author | Łukasz Wilenski <wooc@gazeta.pl> | 2011-02-03 20:13:00 +0000 |
|---|---|---|
| committer | Łukasz Wilenski <wooc@gazeta.pl> | 2011-02-03 20:13:00 +0000 |
| commit | c35583011d322baec17db5b0f4b8c7d14af6a588 (patch) | |
| tree | 5502fff13e084d9f1f72217d96160059375921e3 /admin_users.php | |
| parent | 542774317cd61ddc7df0edea4ab16025ee1db417 (diff) | |
| download | webtrees-c35583011d322baec17db5b0f4b8c7d14af6a588.tar.gz webtrees-c35583011d322baec17db5b0f4b8c7d14af6a588.tar.bz2 webtrees-c35583011d322baec17db5b0f4b8c7d14af6a588.zip | |
allow autocomplete when only one family tree exists
Diffstat (limited to 'admin_users.php')
| -rw-r--r-- | admin_users.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/admin_users.php b/admin_users.php index 7517f58e53..aec8887719 100644 --- a/admin_users.php +++ b/admin_users.php @@ -199,7 +199,9 @@ if ($action=='createuser' || $action=='edituser2') { } } else { print_header(WT_I18N::translate('User administration')); -// if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; Removed becasue it doesn't work here for multiple GEDCOMs. Can be reinstated when fixed (https://bugs.launchpad.net/webtrees/+bug/613235) + if (get_gedcom_count()==1) { //Removed becasue it doesn't work here for multiple GEDCOMs. Can be reinstated when fixed (https://bugs.launchpad.net/webtrees/+bug/613235) + if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; + } } // Print the form to edit a user |
