fixed not working switch from a list-view to a favorite from an old view

This commit is contained in:
Ralf Becker 2014-01-30 16:55:02 +00:00
parent 526b4ff936
commit ba29a6b94b

View File

@ -1120,6 +1120,9 @@ app.classes.calendar = AppJS.extend(
state.state.favorite = state.name.replace(/[^A-Za-z0-9-_]/g, '_');
}
}
// setting internal state now, that linkHandler does not intercept switching from listview to any old view
this.state = state;
var query = jQuery.extend({menuaction: menuaction},state.state||{});
// prepend an owner 0, to reset all owners and not just set given resource type