web/data/cubicweb.rhythm.js
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 15 Mar 2012 17:48:20 +0100
changeset 8312 6c2119509fac
parent 5658 7b9553a9db65
permissions -rw-r--r--
[web] Move request handling logic into cubicweb application. (closes #2200684) We improve http status handling in the process: ``application.publish`` have been renamed to ``application.handle`` to better reflect it's roles. The request object gain a status_out attribute to convey the HTTP status of the response. WSGI and etwist code have been updated. Exception gain status attribute

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