Fixes #656: bulk documents upload
[redakcja.git] / redakcja / static / js / wiki / view_editor_source.js
index 9fc9922..0597140 100644 (file)
                console.log('Exiting', this.doc);
                this.doc.setText(this.codemirror.getCode());
 
+        if ($('.vsplitbar').hasClass('active') && $('#SearchPerspective').hasClass('active')) {
+            $.wiki.switchToTab('#ScanGalleryPerspective');
+        }
+
                if(success) success();
        }