remove some more tab code not used any longer.

This commit is contained in:
Ralf Teusner
2016-09-09 15:43:50 +02:00
parent 46cb071503
commit 542ec78076

View File

@ -275,7 +275,6 @@ var CodeOceanEditor = {
initializeEventHandlers: function () { initializeEventHandlers: function () {
$(document).on('click', '#results a', this.showOutput.bind(this)); $(document).on('click', '#results a', this.showOutput.bind(this));
$(document).on('keypress', this.handleKeyPress.bind(this)); $(document).on('keypress', this.handleKeyPress.bind(this));
$('a[data-toggle="tab"]').on('show.bs.tab', this.storeTab.bind(this));
this.initializeFileTreeButtons(); this.initializeFileTreeButtons();
this.initializeWorkflowButtons(); this.initializeWorkflowButtons();
this.initializeWorkspaceButtons(); this.initializeWorkspaceButtons();
@ -482,10 +481,6 @@ var CodeOceanEditor = {
} }
}, },
storeTab: function (event) {
localStorage.tab = $(event.target).parent().index();
},
resetOutputTab: function () { resetOutputTab: function () {
this.clearOutput(); this.clearOutput();
$('#hint').fadeOut(); $('#hint').fadeOut();