forked from extern/egroupware
- Fix listview filter changes confusingly when searching
- Fix listview does not update for new events
This commit is contained in:
parent
5b8f161d1d
commit
dc3dd6819d
@ -273,6 +273,7 @@ class calendar_uilist extends calendar_ui
|
||||
if ($old_params['search'] != $params['search'])
|
||||
{
|
||||
$this->adjust_for_search($params['search'],$params);
|
||||
$this->filter = $params['filter'];
|
||||
}
|
||||
}
|
||||
if (!$params['csv_export']) Api\Cache::setSession('calendar', 'calendar_list', $params);
|
||||
|
@ -278,6 +278,10 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
||||
observer: function(_msg, _app, _id, _type, _msg_type, _links)
|
||||
{
|
||||
var do_refresh = false;
|
||||
if(this.state.view === 'listview')
|
||||
{
|
||||
app.classes.calendar.views.listview.etemplates[0].widgetContainer.getWidgetById('nm').refresh(_id,_type);
|
||||
}
|
||||
switch(_app)
|
||||
{
|
||||
case 'infolog':
|
||||
|
Loading…
Reference in New Issue
Block a user