2
0
mirror of https://github.com/jupyter/notebook.git synced 2025-02-11 12:30:51 +08:00

Merge pull request from onceuponatimeforever/2923

Fixed  Move Save Away from Cut in toolbar

replace add above/below arrows with single plus button
This commit is contained in:
Min RK 2013-12-04 12:44:58 -08:00
commit 99c45765c4

View File

@ -33,6 +33,18 @@ var IPython = (function (IPython) {
}
}
]);
this.add_buttons_group([
{
id : 'insert_below_b',
label : 'Insert Cell Below',
icon : 'icon-plus-sign',
callback : function () {
IPython.notebook.insert_cell_below('code');
}
}
],'insert_above_below');
this.add_buttons_group([
{
id : 'cut_b',
@ -79,24 +91,6 @@ var IPython = (function (IPython) {
}
],'move_up_down');
this.add_buttons_group([
{
id : 'insert_above_b',
label : 'Insert Cell Above',
icon : 'icon-circle-arrow-up',
callback : function () {
IPython.notebook.insert_cell_above('code');
}
},
{
id : 'insert_below_b',
label : 'Insert Cell Below',
icon : 'icon-circle-arrow-down',
callback : function () {
IPython.notebook.insert_cell_below('code');
}
}
],'insert_above_below');
this.add_buttons_group([
{