                 @current_state = _.extend({},old_state,inp)
                 application.router.navigate(@compose({}))
                 changed = _.filter(_.keys(@current_state), (key) => ( @current_state[key] != old_state[key]) )
-#                console.log("cc",old_state,@current_state,changed)
+                #console.log("cc",old_state,@current_state,changed)
                 @trigger("navigate",old_state,@current_state,changed)
 
 

                $("#list_switch_link").attr("href", "#"+@api.compose(list_hidden: (not @api.current_state.list_hidden)))



#----------------------------------- router


                        ret += "/groups/"+data.unfolded_groups
                if data.list_hidden
                        ret += "/list/hide"
                if data.demo? and data.demo
                        ret += "/demo/"+data.demo
                ret.replace(/^\//,"")


