dossiers : allow printing when no query.

This commit is contained in:
Mikaël Ates 2014-12-17 12:45:42 +01:00
parent 8bec338cb1
commit 37cdace1c1
1 changed files with 5 additions and 1 deletions

View File

@ -408,7 +408,11 @@ function load_tab8_medical() {
button.attr({disabled: 'disabled'});
button.toggleClass('icon-wip');
$('.pagination').next().remove();
$.get(window.location + '&all', function(data) {
var target = '?all';
if (window.location.search) {
target = '&all';
}
$.get(window.location + target, function(data) {
button.toggleClass('icon-wip');
button.removeAttr('disabled');
button.html(title);