mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
@@ -18,9 +18,9 @@ function openContactsFolder(contactsFolder, reload, idx) {
|
||||
var url = URLForFolderID(Contact.currentAddressBook, "Contacts") +
|
||||
"/view?noframe=1";
|
||||
|
||||
var searchValue = search["value"];
|
||||
var searchValue = search["contacts"]["value"];
|
||||
if (searchValue && searchValue.length > 0)
|
||||
url += ("&search=" + search["criteria"]
|
||||
url += ("&search=" + search["contacts"]["criteria"]
|
||||
+ "&value=" + escape(searchValue.utf8encode()));
|
||||
var sortAttribute = sorting["attribute"];
|
||||
if (sortAttribute && sortAttribute.length > 0)
|
||||
@@ -613,7 +613,7 @@ function onFolderSelectionChange(event) {
|
||||
}
|
||||
else {
|
||||
search = {};
|
||||
$("searchValue").value = "";
|
||||
$$('[name="search"]').each(function(input) { input.value = "" });
|
||||
initCriteria();
|
||||
openContactsFolder(nodes[0].getAttribute("id"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user