add maintoolbar fix for cells_to_code

Pierre Gerold 11 years ago committed by Peter Parente
parent 77210286d3
commit 5a8cc0a75d

@ -108,7 +108,7 @@ define([
var cell_type = $(this).val();
switch (cell_type) {
case 'code':
that.notebook.to_code();
that.notebook.cells_to_code();
break;
case 'markdown':
that.notebook.to_markdown();

@ -1182,7 +1182,6 @@ define(function (require) {
if (indices === undefined){
indices = this.get_selected_cells_indices();
}
this.untocode_backup =[];
for (var i=0; i <indices.length; i++){
this.to_code(indices[i]);

Loading…
Cancel
Save