Fix state of resources listing when opening the dialog
This commit is contained in:
parent
149dcbaa1a
commit
17013f732f
1 changed files with 4 additions and 3 deletions
|
@ -1664,10 +1664,11 @@ function rcube_calendar_ui(settings)
|
|||
// register button
|
||||
rcmail.register_button('add-resource', 'rcmbtncalresadd', 'uibutton');
|
||||
}
|
||||
else if (search) {
|
||||
resource_search();
|
||||
}
|
||||
else {
|
||||
resources_treelist.select('__none__');
|
||||
if (search)
|
||||
resource_search();
|
||||
resource_render_list(resources_index);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue