lib/carte/client/views/content.cjsx in carte-server-0.0.11 vs lib/carte/client/views/content.cjsx in carte-server-0.0.12

- old
+ new

@@ -35,11 +35,11 @@ title.push(String(k).capitalize() + ': ' + v) title = title.join(', ') title = 'search: ' + cards.query.title + ' (' + title + ')' if cards.query.title title += ' - ' + config.title document.title = title - <List key='list' router={@props.router} cards={cards} showNav=true /> + <List key='list' router={@props.router} cards={cards} /> when "show" console.log 'show' cards = new CardCollection() cards.fetching = true card = new CardModel(title: @props.router.title) @@ -58,10 +58,11 @@ cardModel.set 'focused', false console.log 'adding right', cardModel cards.add cardModel cards.fetching = false error: (card, response)=> - console.log response + console.log 'error!!!!!!!!!!!!!!!!!!!!!!!!', response + cards.fetching = false document.title = card.get('title') + ' - ' + config.title <List key='show' cards={cards} card={card} /> else console.log 'else' <div>Loading ...</div>