* InfoLog: fix not working "No filter" favorite

This commit is contained in:
Ralf Becker 2015-08-24 14:34:19 +00:00
parent 5f7b671532
commit d0dae2b32a

View File

@ -198,6 +198,7 @@ app.classes.infolog = AppJS.extend(
// as we have to set state.state.action, we have to set all other
// for "No filter" favorite to work as expected
var to_set = {col_filter: null, filter: '', filter2: '', cat_id: '', search: '', action: null};
if (typeof state.state == 'undefined') state.state = {};
for(var name in to_set)
{
if (typeof state.state[name] == 'undefined') state.state[name] = to_set[name];