remove code that showed tabs and leftovers of serversend events (runmode)

This commit is contained in:
Ralf Teusner
2016-09-09 15:40:53 +02:00
parent 77452e6c2b
commit 46cb071503
3 changed files with 1 additions and 47 deletions

View File

@@ -118,7 +118,6 @@ CodeOceanEditorSubmissions = {
stderr: message
}, true, 0);
this.sendError(message, response.id);
this.showTab(0);
this.showOutputBar();
};
}
@@ -130,7 +129,6 @@ CodeOceanEditorSubmissions = {
runCode: function(event) {
event.preventDefault();
if ($('#run').is(':visible')) {
this.runmode = this.WEBSOCKET;
this.createSubmission('#run', null, function(response) {
//Run part starts here
$('#stop').data('url', response.stop_url);