diff --git a/roster2/src/webapp/js/roster.js b/roster2/src/webapp/js/roster.js index 2a100c09e42c..34732211c286 100644 --- a/roster2/src/webapp/js/roster.js +++ b/roster2/src/webapp/js/roster.js @@ -25,11 +25,16 @@ $('.roster-print-button').click(function (e) { + var button = $(this); + + button.prop('disabled', true); + e.preventDefault(); roster.renderMembership({renderAll: true, callback: function () { - //$(window).on('load', function () { $('#roster-members').waitForImages(function () { + + button.prop('disabled', false); window.print(); }); }});