protect & and < enities on html2xml
[redakcja.git] / redakcja / static / js / wiki / view_gallery.js
index 4f6b8a1..56faaa1 100644 (file)
@@ -45,6 +45,7 @@
         var old_callback = options.callback || function() { };
 
                this.noupdate_hash_onenter = true;
+        this.vsplitbar = 'GALERIA';
 
         options.callback = function(){
             var self = this;
         $.wiki.Perspective.prototype.onEnter.call(this);
 
         $('.vsplitbar').not('.active').trigger('click');
-        $(".vsplitbar-title").html("&darr;&nbsp;GALLERY&nbsp;&darr;");        
+        $(".vsplitbar-title").html("&darr;&nbsp;GALERIA&nbsp;&darr;");        
         
         this.doc.refreshGallery({
             success: function(doc, data){