CHANGELOG | ●●●●● patch | view | raw | blame | history | |
program/include/main.inc | ●●●●● patch | view | raw | blame | history | |
program/js/app.js | ●●●●● patch | view | raw | blame | history | |
program/localization/en_US/messages.inc | ●●●●● patch | view | raw | blame | history |
CHANGELOG
@@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== - Add notice on autocompletion that not all records were displayed - Add option 'searchonly' for LDAP address books - Add Priority filter to the messages list - Cache synchronization using QRESYNC/CONDSTORE program/include/main.inc
@@ -2384,5 +2384,5 @@ $RCMAIL->output->set_env('autocomplete_max', (int)$RCMAIL->config->get('autocomplete_max', 15)); $RCMAIL->output->set_env('autocomplete_min_length', $RCMAIL->config->get('autocomplete_min_length')); $RCMAIL->output->add_label('autocompletechars'); $RCMAIL->output->add_label('autocompletechars', 'autocompletemore'); } program/js/app.js
@@ -3620,19 +3620,15 @@ return; if (q.length && q.length < min) { if (!this.env.acinfo) { this.env.acinfo = this.display_message( if (!this.ksearch_info) { this.ksearch_info = this.display_message( this.get_label('autocompletechars').replace('$min', min)); } return; } else if (this.env.acinfo) { this.hide_message(this.env.acinfo); } var old_value = this.ksearch_value; this.ksearch_value = q; this.ksearch_destroy(); // ...string is empty @@ -3730,7 +3726,8 @@ this.env.contacts = this.env.contacts.concat(results); // run next parallel search if (maxlen > 0 && this.ksearch_data.id == reqid && this.ksearch_data.sources.length) { if (this.ksearch_data.id == reqid) { if (maxlen > 0 && this.ksearch_data.sources.length) { var lock, xhr, props = this.ksearch_data, source = props.sources.shift(); if (source) { lock = this.display_message(this.get_label('searching'), 'loading'); @@ -3740,6 +3737,9 @@ this.ksearch_data.locks.push(lock); this.ksearch_data.requests.push(xhr); } } else if (!maxlen && !this.ksearch_msg) this.ksearch_msg = this.display_message(this.get_label('autocompletemore')); } }; @@ -3783,7 +3783,15 @@ for (i=0, len=ac.locks.length; i<len; i++) this.abort_request({request: ac.requests[i], lock: ac.locks[i]}); if (this.ksearch_info) this.hide_message(this.ksearch_info); if (this.ksearch_msg) this.hide_message(this.ksearch_msg); this.ksearch_data = null; this.ksearch_info = null; this.ksearch_msg = null; } /*********************************************************/ program/localization/en_US/messages.inc
@@ -149,6 +149,7 @@ $messages['messagecopied'] = 'Message(s) copied successfully.'; $messages['messagemarked'] = 'Message(s) marked successfully.'; $messages['autocompletechars'] = 'Enter at least $min characters for autocompletion.'; $messages['autocompletemore'] = 'More matching entries found. Please type more characters.'; $messages['namecannotbeempty'] = 'Name cannot be empty.'; $messages['nametoolong'] = 'Name is too long.'; $messages['folderupdated'] = 'Folder updated successfully.';