X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/74081c8b2e9a8588505c40257556e17274fc80de..613c90833cd963f769500b79b59e9986bc8970ad:/redakcja/static/js/wiki/view_gallery.js?ds=sidebyside 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();