Permalink
Switch branches/tags
Nothing to show
Commits on Aug 3, 2011
  1. Simplified the signal handling whenever a node's status changes.

    arjan committed Aug 3, 2011
    In the template code you were observing an event 'node' on which
    you *directly* did a postback with a certain action to do the animations.
    
    That felt unnecessary: the "take_down" and "bring_up" actions are not
    really needed unless you want to do animation.
    
    To simplify, I just refreshed the _left and _right templates from the
    page callback and that's it.  I renamed the emitted event to
    'node_status_changed'.
    
    However, your approach is correct if you want to be able to do these
    types of animation.
  2. The 'rsc' model should only be modified through the m_rsc model.

    arjan committed Aug 3, 2011
    That also takes care of flushing Zotonic's cache. Now you're flushing
    everything all the time, which leads to a lot of unnecessary
    computing.
  3. init/1 is no longer needed if you export datamodel/0 from your module.

    arjan committed Aug 3, 2011
    I added a category "node" to the datamodel, since your application
    depends on it. Nice for new installs.
Commits on Jul 25, 2011
  1. initial commit

    trigeek38 committed Jul 25, 2011