|
|
@ -391,17 +391,19 @@ function rcube_elastic_ui()
|
|
|
|
|
|
|
|
|
|
|
|
// reset content frame, so we can load it again
|
|
|
|
// reset content frame, so we can load it again
|
|
|
|
rcmail.show_contentframe(false);
|
|
|
|
rcmail.show_contentframe(false);
|
|
|
|
// or env.content_window.location.href = rcmail.env.blankpage; ?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// now we have to unselect selected row on the list
|
|
|
|
// now we have to unselect selected row on the list
|
|
|
|
// TODO: do this with some magic, so it works for plugins UI
|
|
|
|
$('[data-list]', layout.list).each(function() {
|
|
|
|
// e.g. we could store list widget reference in list container data
|
|
|
|
var list = $(this).data('list');
|
|
|
|
if (rcmail.env.task == 'settings' && !rcmail.env.action) {
|
|
|
|
if (rcmail[list]) {
|
|
|
|
rcmail.sections_list.clear_selection();
|
|
|
|
if (rcmail[list].clear_selection) {
|
|
|
|
}
|
|
|
|
rcmail[list].clear_selection(); // list widget
|
|
|
|
else if (rcmail.env.task == 'addressbook' && !rcmail.env.action) {
|
|
|
|
}
|
|
|
|
rcmail.contact_list.clear_selection();
|
|
|
|
else if (rcmail[list].select) {
|
|
|
|
}
|
|
|
|
rcmail[list].select(); // treelist widget
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// show menu widget
|
|
|
|
// show menu widget
|
|
|
|