disable cover urls
[redakcja.git] / redakcja / static / js / wiki / view_summary.js
index 099a0e8..151b10b 100644 (file)
@@ -6,11 +6,6 @@
                options.callback = function() {
                        var self = this;
 
-                       // first time page is rendered
-               $('#summary-cover-refresh').click(function() {
-                               self.refreshCover();
-                       });
-
                old_callback.call(this);
                }
 
 
     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');
-                       }
-               });
-       };
-
     SummaryPerspective.prototype.showCharCount = function() {
         var cc;
         try {