(js) Fix autocompletion of mail editor in Contacts
parent
1f3149fa63
commit
f5b28b0274
1
NEWS
1
NEWS
|
@ -13,6 +13,7 @@ Bug fixes
|
||||||
- [web] apply search filters when automatically reloading current mailbox (#3507)
|
- [web] apply search filters when automatically reloading current mailbox (#3507)
|
||||||
- [web] fixed virtual repeater when moving up in messages list
|
- [web] fixed virtual repeater when moving up in messages list
|
||||||
- [web] really delete mailboxes being deleted from the Trash folder (#595, #1189, #641)
|
- [web] really delete mailboxes being deleted from the Trash folder (#595, #1189, #641)
|
||||||
|
- [web] fixed address autocompletion of mail editor affecting cards list of active addressbook
|
||||||
|
|
||||||
3.0.1 (2016-02-05)
|
3.0.1 (2016-02-05)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
* @returns a collection of Cards instances
|
* @returns a collection of Cards instances
|
||||||
*/
|
*/
|
||||||
AddressBook.$filterAll = function(search, options, excludedCards) {
|
AddressBook.$filterAll = function(search, options, excludedCards) {
|
||||||
var params = {search: search};
|
var params = { search: search };
|
||||||
|
|
||||||
if (!search) {
|
if (!search) {
|
||||||
// No query specified
|
// No query specified
|
||||||
|
@ -90,11 +90,6 @@
|
||||||
// First session query
|
// First session query
|
||||||
AddressBook.$cards = [];
|
AddressBook.$cards = [];
|
||||||
}
|
}
|
||||||
else if (AddressBook.$query.value == search) {
|
|
||||||
// Query hasn't changed
|
|
||||||
return AddressBook.$q.when(AddressBook.$cards);
|
|
||||||
}
|
|
||||||
AddressBook.$query.value = search;
|
|
||||||
|
|
||||||
angular.extend(params, options);
|
angular.extend(params, options);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue