routing error

This commit is contained in:
yqbk
2016-08-17 13:50:01 +02:00
parent 6a6ed9f453
commit 9a47f126e4
2 changed files with 2 additions and 2 deletions

View File

@ -838,7 +838,7 @@ $(function() {
active_frame = frame;
// should not be hidden to generate multiple ace editors in edit mode
//$('.frame').hide();
frame.show();
$('.frame').show();
};
var showOutput = function(event) {

View File

@ -32,7 +32,7 @@
h2 = t('activerecord.attributes.exercise.files')
/hidden editor -> to be deleted
= render('ace', exercise: @exercise, file: @files.first)
.hide = render('ace', exercise: @exercise, file: @files.first)
/after use $('.frame').show() in js console everything works fine, probably editors are hidden somewhere in editor.js because we get "display:none" on frames
ul#files.list-unstyled.panel-group