X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..ff399fe7aad9d00bbc59275a83ac0df224a350a9:/src/redakcja/static/js/wiki/view_annotations.js diff --git a/src/redakcja/static/js/wiki/view_annotations.js b/src/redakcja/static/js/wiki/view_annotations.js index b55effd0..771909b9 100644 --- a/src/redakcja/static/js/wiki/view_annotations.js +++ b/src/redakcja/static/js/wiki/view_annotations.js @@ -6,7 +6,6 @@ function AnnotationsPerspective(options){ var old_callback = options.callback || function() { }; - this.noupdate_hash_onenter = true; this.vsplitbar = 'PRZYPISY'; options.callback = function(){ @@ -27,7 +26,7 @@ self.$annos.hide(); self.$error.hide(); - self.$spinner.show(100, function(){ + self.$spinner.fadeIn(100, function() { self.refresh(self, atype); }); }); @@ -35,10 +34,10 @@ old_callback.call(this); }; - $.wiki.Perspective.call(this, options); + $.wiki.SidebarPerspective.call(this, options); } - AnnotationsPerspective.prototype = new $.wiki.Perspective(); + AnnotationsPerspective.prototype = new $.wiki.SidebarPerspective(); AnnotationsPerspective.prototype.updateAnnotationIds = function(self){ self.annotationToAnchor = {}; @@ -62,7 +61,7 @@ }, error: function(text) { $.unblockUI(); - self.$error.html(text); + self.$error.html('
WystÄ piÅ bÅÄ d:
' + text + ''); + self.$error.html('
WystÄ piÅ bÅÄ d:
' + text + '