Fix
[redakcja.git] / redakcja / static / js / wiki / view_summary.js
index 8fdf4b9..099a0e8 100644 (file)
     SummaryPerspective.prototype = new $.wiki.Perspective();
 
        SummaryPerspective.prototype.refreshCover = function() {
+               $('#summary-cover-refresh').attr('disabled', 'disabled');
                this.doc.refreshCover({
                        success: function(text) {
                                $('#summary-cover').attr('src', text);
+                       $('#summary-cover-refresh').removeAttr('disabled');
                        }
                });
        };