X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/74081c8b2e9a8588505c40257556e17274fc80de..52ac6b59c4e8fcecedb14fb256c2c10e1dc76ce4:/redakcja/static/js/wiki/view_gallery.js diff --git a/redakcja/static/js/wiki/view_gallery.js b/redakcja/static/js/wiki/view_gallery.js index ec486bc0..56faaa10 100644 --- a/redakcja/static/js/wiki/view_gallery.js +++ b/redakcja/static/js/wiki/view_gallery.js @@ -45,6 +45,7 @@ var old_callback = options.callback || function() { }; this.noupdate_hash_onenter = true; + this.vsplitbar = 'GALERIA'; options.callback = function(){ var self = this; @@ -226,7 +227,8 @@ $.wiki.Perspective.prototype.onEnter.call(this); $('.vsplitbar').not('.active').trigger('click'); - + $(".vsplitbar-title").html("↓ GALERIA ↓"); + this.doc.refreshGallery({ success: function(doc, data){ self.$image.show();