fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added REDMINE_URL to document_details_* context
[redakcja.git]
/
redakcja
/
static
/
js
/
wiki
/
view_editor_source.js
diff --git
a/redakcja/static/js/wiki/view_editor_source.js
b/redakcja/static/js/wiki/view_editor_source.js
index
9fc9922
..
0597140
100644
(file)
--- a/
redakcja/static/js/wiki/view_editor_source.js
+++ b/
redakcja/static/js/wiki/view_editor_source.js
@@
-100,6
+100,10
@@
console.log('Exiting', this.doc);
this.doc.setText(this.codemirror.getCode());
+ if ($('.vsplitbar').hasClass('active') && $('#SearchPerspective').hasClass('active')) {
+ $.wiki.switchToTab('#ScanGalleryPerspective');
+ }
+
if(success) success();
}