fix permanent reload in idots template, when switching to a listview-favorite

This commit is contained in:
Ralf Becker 2014-01-30 18:24:24 +00:00
parent 6f8287a0ed
commit 968d5d6760

View File

@ -1085,7 +1085,7 @@ app.classes.calendar = AppJS.extend(
if (typeof state.state != 'undefined' && state.state.view == 'undefined' || state.state.view == 'listview')
{
// check if we already use et2 / are in listview
if (this.et2)
if (this.et2 || etemplate2 && etemplate2.getByApplication('calendar'))
{
// current calendar-code can set regular calendar states only via a server-request :(
// --> check if we only need to set something which can be handeled by nm internally