web/data/cubicweb.rhythm.js
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 24 Jun 2013 19:27:31 +0200
changeset 9063 383d45cf61fa
parent 5658 7b9553a9db65
permissions -rw-r--r--
[webrequest] introduce an alternative implementation using the repoapi DBAPI specific parts of ``CubicWebRequestBase`` are extracted in a ``DBAPICubicWebRequestBase`` decicated class and a new ``ConnectionCubicWebRequestBase`` is introduced that provide the same services but using a repoapi.ClientConnection as data source. For now the ``DBAPICubicWebRequestBase`` is still used by default.

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