show articles ordered by members but not by foodcoop dimmed in receive

This commit is contained in:
wvengen 2014-08-29 12:23:23 +02:00
parent 790a6b1972
commit 8913ad615c
3 changed files with 7 additions and 2 deletions

View file

@ -30,6 +30,9 @@
}
$(input).closest('tr').find('.units_delta').html(html);
// un-dim row when received is nonzero
$(input).closest('tr').toggleClass('unavailable', expected == 0 && html=='');
}
$(document).on('change keyup', 'input[data-units-expected]', function() {