web/data/cubicweb.rhythm.js
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 27 Jun 2013 18:21:04 +0200
changeset 9071 46885bfa4150
parent 5658 7b9553a9db65
permissions -rw-r--r--
Use new repoapi for the web stack The publisher now link repoapi.ClientConnection to request. and explicitly control there scope. Web side, appobject._cw.cnx is now a repoapi.ClientConnection. This actually kill webonly possibility until the repoapi is able to use some RPC. The change in the authentication stack is very hasty and need cleanup

$(document).ready(function() {
    $('a.rhythm').click(function (event){
        $('div#pageContent').toggleClass('rhythm_bg');
        $('div#page').toggleClass('rhythm_bg');
        event.preventDefault();
    });
});