Show More
@@ -359,6 +359,15 b' p.dialog {' | |||||
359 |
|
359 | |||
360 | @media print { |
|
360 | @media print { | |
361 | body { overflow: visible !important; } |
|
361 | body { overflow: visible !important; } | |
|
362 | #menubar, #pager_splitter, #pager { display: none;} | |||
|
363 | #header {display: none !important; } | |||
|
364 | #main_app { overflow: visible !important; height: !important auto; } | |||
|
365 | #notebook_panel { overflow: visible !important; height: !important auto; } | |||
|
366 | #notebook { | |||
|
367 | height: !important auto; | |||
|
368 | overflow-y: !important visible; | |||
|
369 | overflow-x: !important hidden; | |||
|
370 | } | |||
362 | .ui-widget-content { border: 0px; } |
|
371 | .ui-widget-content { border: 0px; } | |
363 | } |
|
372 | } | |
364 |
|
373 |
@@ -67,6 +67,7 b' var IPython = (function (IPython) {' | |||||
67 | modal: true, |
|
67 | modal: true, | |
68 | title: "Rename Notebook", |
|
68 | title: "Rename Notebook", | |
69 | closeText: "", |
|
69 | closeText: "", | |
|
70 | close: function(event, ui) {$(this).dialog('destroy').remove();}, | |||
70 | buttons : { |
|
71 | buttons : { | |
71 | "OK": function () { |
|
72 | "OK": function () { | |
72 | var new_name = $(this).find('input').attr('value'); |
|
73 | var new_name = $(this).find('input').attr('value'); | |
@@ -80,12 +81,10 b' var IPython = (function (IPython) {' | |||||
80 | that.set_notebook_name(new_name); |
|
81 | that.set_notebook_name(new_name); | |
81 | that.save_notebook(); |
|
82 | that.save_notebook(); | |
82 | $(this).dialog('close'); |
|
83 | $(this).dialog('close'); | |
83 | $(this).dialog('destroy').remove(); |
|
|||
84 | } |
|
84 | } | |
85 | }, |
|
85 | }, | |
86 | "Cancel": function () { |
|
86 | "Cancel": function () { | |
87 | $(this).dialog('close'); |
|
87 | $(this).dialog('close'); | |
88 | $(this).dialog('destroy').remove(); |
|
|||
89 | } |
|
88 | } | |
90 | } |
|
89 | } | |
91 | }); |
|
90 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now