fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
notification for new organizations
[redakcja.git]
/
redakcja
/
static
/
js
/
wiki
/
view_summary.js
diff --git
a/redakcja/static/js/wiki/view_summary.js
b/redakcja/static/js/wiki/view_summary.js
index
8fdf4b9
..
55b9e53
100644
(file)
--- a/
redakcja/static/js/wiki/view_summary.js
+++ b/
redakcja/static/js/wiki/view_summary.js
@@
-12,17
+12,19
@@
});
old_callback.call(this);
});
old_callback.call(this);
- }
+ }
;
$.wiki.Perspective.call(this, options);
$.wiki.Perspective.call(this, options);
- }
;
+ }
SummaryPerspective.prototype = new $.wiki.Perspective();
SummaryPerspective.prototype.refreshCover = function() {
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);
this.doc.refreshCover({
success: function(text) {
$('#summary-cover').attr('src', text);
+ $('#summary-cover-refresh').removeAttr('disabled');
}
});
};
}
});
};