forked from extern/egroupware
Flagging next-match widget container as default-focus object
This commit is contained in:
parent
d90a2c1ade
commit
509ff8aa53
@ -888,6 +888,7 @@ class nextmatch_widget
|
||||
// Create anonymous object and action container for this etemplate
|
||||
var actionCntr = actionManager.addAction("actionManager", "'.$template_name.'");
|
||||
var objectCntr = objectManager.addObject(new egwActionObjectManager("'.$template_name.'", actionCntr));
|
||||
objectCntr.flags = objectCntr.flags | EGW_AO_FLAG_DEFAULT_FOCUS;
|
||||
|
||||
actionCntr.updateActions('.json_encode($enc_actions).');
|
||||
actionCntr.setDefaultExecute("javaScript:nm_action");
|
||||
|
@ -63,7 +63,7 @@ function nextmatchRowAOI(_node, _selectMode)
|
||||
break;
|
||||
case EGW_SELECTMODE_TOGGLE:
|
||||
aoi.updateState(EGW_AO_STATE_SELECTED, !selected,
|
||||
egwSetBit(EGW_AO_SHIFT_STATE_MULTI, state, true));
|
||||
egwSetBit(state, EGW_AO_SHIFT_STATE_MULTI, true));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user