From 482120068966928c902338630946f0ead9a17191 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 6 Apr 2006 02:41:48 +0000 Subject: #57415: Replace drupal_implode_autocomplete() by drupal_to_js() --- modules/taxonomy.module | 2 +- modules/taxonomy/taxonomy.module | 2 +- modules/user.module | 2 +- modules/user/user.module | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/taxonomy.module b/modules/taxonomy.module index b14ca95f7..c4e8c7fd1 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -1360,7 +1360,7 @@ function taxonomy_autocomplete($vid, $string = '') { } $matches[$prefix . $n] = check_plain($tag->name); } - print drupal_implode_autocomplete($matches); + print drupal_to_js($matches); exit(); } } diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index b14ca95f7..c4e8c7fd1 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1360,7 +1360,7 @@ function taxonomy_autocomplete($vid, $string = '') { } $matches[$prefix . $n] = check_plain($tag->name); } - print drupal_implode_autocomplete($matches); + print drupal_to_js($matches); exit(); } } diff --git a/modules/user.module b/modules/user.module index d22ad64f6..26e087f19 100644 --- a/modules/user.module +++ b/modules/user.module @@ -2083,6 +2083,6 @@ function user_autocomplete($string) { while ($user = db_fetch_object($result)) { $matches[$user->name] = check_plain($user->name); } - print drupal_implode_autocomplete($matches); + print drupal_to_js($matches); exit(); } diff --git a/modules/user/user.module b/modules/user/user.module index d22ad64f6..26e087f19 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -2083,6 +2083,6 @@ function user_autocomplete($string) { while ($user = db_fetch_object($result)) { $matches[$user->name] = check_plain($user->name); } - print drupal_implode_autocomplete($matches); + print drupal_to_js($matches); exit(); } -- cgit v1.2.3