fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix generation of <question> tags
[redakcja.git]
/
redakcja
/
static
/
js
/
wiki
/
view_search.js
diff --git
a/redakcja/static/js/wiki/view_search.js
b/redakcja/static/js/wiki/view_search.js
index
740c913
..
64a35c4
100644
(file)
--- a/
redakcja/static/js/wiki/view_search.js
+++ b/
redakcja/static/js/wiki/view_search.js
@@
-7,6
+7,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 = 'ZNAJDŹ I ZAMIEŃ';
options.callback = function(){
var self = this;
options.callback = function(){
var self = this;
@@
-99,6
+100,8
@@
self.$searchCursor = null;
$('.vsplitbar').not('.active').trigger('click');
self.$searchCursor = null;
$('.vsplitbar').not('.active').trigger('click');
+ $(".vsplitbar-title").html("↓ ZNAJDŹ I ZAMIEŃ ↓");
+
if ($.wiki.activePerspective() != 'CodeMirrorPerspective')
$.wiki.switchToTab('#CodeMirrorPerspective');
};
if ($.wiki.activePerspective() != 'CodeMirrorPerspective')
$.wiki.switchToTab('#CodeMirrorPerspective');
};
@@
-109,4
+112,4
@@
$.wiki.SearchPerspective = SearchPerspective;
$.wiki.SearchPerspective = SearchPerspective;
-})(jQuery);
\ No newline at end of file
+})(jQuery);