mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* Addressbook - Fix favorites that included a selected organisation did not get correctly applied
This commit is contained in:
parent
2d9c6c3ae9
commit
f17a272b6d
@ -1008,10 +1008,13 @@ app.classes.addressbook = AppJS.extend(
|
|||||||
|
|
||||||
// Check to see if it's not there
|
// Check to see if it's not there
|
||||||
if(options && (options.find &&
|
if(options && (options.find &&
|
||||||
!grouped.options.select_options.find(function(e) {console.log(e); return e.value === state.state.grouped_view;}) ||
|
!options.find(function(e) {console.log(e); return e.value === state.state.grouped_view;}) ||
|
||||||
!options[state.state.grouped_view]
|
typeof options.find === 'undefined' && !options[state.state.grouped_view]
|
||||||
))
|
))
|
||||||
{
|
{
|
||||||
|
window.setTimeout(function() {
|
||||||
|
app.addressbook.setState(state);
|
||||||
|
}, 500);
|
||||||
var nm = index.widgetContainer.getWidgetById('nm');
|
var nm = index.widgetContainer.getWidgetById('nm');
|
||||||
var action = nm.controller._actionManager.getActionById('view_org');
|
var action = nm.controller._actionManager.getActionById('view_org');
|
||||||
var senders = [{_context: {_widget: nm}}];
|
var senders = [{_context: {_widget: nm}}];
|
||||||
|
Loading…
Reference in New Issue
Block a user