##// END OF EJS Templates
only add .ipynb if extension is not included...
MinRK -
Show More
@@ -1802,7 +1802,10 b' var IPython = (function (IPython) {'
1802
1802
1803 Notebook.prototype.rename = function (nbname) {
1803 Notebook.prototype.rename = function (nbname) {
1804 var that = this;
1804 var that = this;
1805 var data = {name: nbname + '.ipynb'};
1805 if (!nbname.match(/\.ipynb$/)) {
1806 nbname = nbname + ".ipynb";
1807 }
1808 var data = {name: nbname};
1806 var settings = {
1809 var settings = {
1807 processData : false,
1810 processData : false,
1808 cache : false,
1811 cache : false,
General Comments 0
You need to be logged in to leave comments. Login now