Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/static/riot/competitions/detail/_tabs.tag
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
data-tab="_tab_page_term">
Terms
</div>
<div if={competition.files.length != 0} class="{active: _.get(competition.pages, 'length') === 0} item" data-tab="files">
<div if={competition.files && competition.files.length != 0} class="{active: _.get(competition.pages, 'length') === 0} item" data-tab="files">
Files
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/static/riot/competitions/editor/_phases.tag
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,6 @@
Events
---------------------------------------------------------------------*/
CODALAB.events.on('competition_loaded', function (competition) {
debugger
self.phases = competition.phases
self.form_updated()
})
Expand Down
1 change: 0 additions & 1 deletion src/static/riot/profiles/organization_create.tag
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
.done(data => {
toastr.success("Organization Created")
window.location.href = data.url
console.log(data)
})
.fail(data => {
let errorsJSON = data.responseJSON
Expand Down
1 change: 0 additions & 1 deletion src/templates/pages/server_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ <h1>Monitor queues</h1>
} else {
url.searchParams.delete('show_child_submissions');
}
console.log(url)
window.location.href = url.toString();
});
});
Expand Down