Added url param.

This commit is contained in:
Alexander Kastius
2016-09-01 16:50:10 +02:00
parent 1f159ce0bd
commit 333a72c996

View File

@ -158,7 +158,7 @@ CodeOceanEditorSubmissions = {
this.createSubmission('#test', null, function(response) { this.createSubmission('#test', null, function(response) {
this.showSpinner($('#test')); this.showSpinner($('#test'));
var url = response.test_url.replace(this.FILENAME_URL_PLACEHOLDER, this.active_file.filename); var url = response.test_url.replace(this.FILENAME_URL_PLACEHOLDER, this.active_file.filename);
this.initializeSocketForTesting(); this.initializeSocketForTesting(url);
}.bind(this)); }.bind(this));
} }
}, },