Project

General

Profile

« Previous | Next » 

Revision 37cdace1

Added by Mikaël Ates almost 10 years ago

dossiers : allow printing when no query.

View differences:

calebasse/static/js/calebasse.dossiers.js
408 408
        button.attr({disabled: 'disabled'});
409 409
        button.toggleClass('icon-wip');
410 410
        $('.pagination').next().remove();
411
        $.get(window.location + '&all', function(data) {
411
        var target = '?all';
412
        if (window.location.search) {
413
            target = '&all';
414
        }
415
        $.get(window.location + target, function(data) {
412 416
            button.toggleClass('icon-wip');
413 417
            button.removeAttr('disabled');
414 418
            button.html(title);

Also available in: Unified diff