diff --git a/modules/advanced_search/site.js b/modules/advanced_search/site.js index 0591788a71..eb467682b5 100644 --- a/modules/advanced_search/site.js +++ b/modules/advanced_search/site.js @@ -150,7 +150,7 @@ var expand_adv_folder_list = function(path) { var detail = Hm_Utils.parse_folder_path(path, 'imap'); var list = $('.imap_'+detail.server_id+'_'+Hm_Utils.clean_selector(detail.folder), $('.adv_folder_list')); if ($('li', list).length === 0) { - $('.expand_link', list).html('-'); + $('.expand_link', list).html(''); if (detail) { Hm_Ajax.request( [{'name': 'hm_ajax_hook', 'value': 'ajax_imap_folder_expand'}, diff --git a/modules/imap/functions.php b/modules/imap/functions.php index 1648d9f4b8..fceaaaf87b 100644 --- a/modules/imap/functions.php +++ b/modules/imap/functions.php @@ -111,7 +111,7 @@ function prepare_imap_message_list($msgs, $mod, $type) { * @return string */ if (!hm_exists('format_imap_folder_section')) { -function format_imap_folder_section($folders, $id, $output_mod) { +function format_imap_folder_section($folders, $id, $output_mod, $with_input = false) { $results = '