##// END OF EJS Templates
Add tooltip to Download/Print indicating need to save first...
MinRK -
Show More
@@ -94,7 +94,9 b' var IPython = (function (IPython) {'
94 this.content.find('#download_notebook').button();
94 this.content.find('#download_notebook').button();
95 this.content.find('#download_notebook').attr('title',
95 this.content.find('#download_notebook').attr('title',
96 "Download the notebook in the specified format," +
96 "Download the notebook in the specified format," +
97 " either full ipynb notebook or as a Python script.");
97 " either full ipynb notebook or as a Python script." +
98 " Make sure to save before downloading, to ensure the file is up to date."
99 );
98 // upload notebook doesn't exist:
100 // upload notebook doesn't exist:
99 this.content.find('#upload_notebook').button();
101 this.content.find('#upload_notebook').button();
100 this.content.find('#download_format').addClass('ui-widget ui-widget-content');
102 this.content.find('#download_format').addClass('ui-widget ui-widget-content');
@@ -14,7 +14,9 b' var IPython = (function (IPython) {'
14 this.element.find('button#print_notebook').attr('title',
14 this.element.find('button#print_notebook').attr('title',
15 "Open a new window with printer-friendly HTML of the Notebook." +
15 "Open a new window with printer-friendly HTML of the Notebook." +
16 " Note that this is incomplete, and may not produce perfect" +
16 " Note that this is incomplete, and may not produce perfect" +
17 " printed output.");
17 " printed output." +
18 " Make sure to save before printing, to ensure the output is up to date."
19 );
18 };
20 };
19
21
20 PrintWidget.prototype.bind_events = function () {
22 PrintWidget.prototype.bind_events = function () {
General Comments 0
You need to be logged in to leave comments. Login now