some more code cleanup and UI optimizations

This commit is contained in:
Ralf Teusner
2016-09-09 16:10:43 +02:00
parent 542ec78076
commit 2b621e2de6
5 changed files with 8 additions and 15 deletions

View File

@@ -156,6 +156,7 @@ CodeOceanEditorSubmissions = {
if ($('#test').is(':visible')) {
this.createSubmission('#test', null, function(response) {
this.showSpinner($('#test'));
$('#score_div').addClass('hidden');
var url = response.test_url.replace(this.FILENAME_URL_PLACEHOLDER, this.active_file.filename);
this.initializeSocketForTesting(url);
}.bind(this));