fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autotag fix
[redakcja.git]
/
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
8679348
..
56faaa1
100644
(file)
--- 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;
var old_callback = options.callback || function() { };
this.noupdate_hash_onenter = true;
+ this.vsplitbar = 'GALERIA';
options.callback = function(){
var self = this;
options.callback = function(){
var self = this;
@@
-225,6
+226,9
@@
$.wiki.Perspective.prototype.onEnter.call(this);
$.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();
this.doc.refreshGallery({
success: function(doc, data){
self.$image.show();