##// END OF EJS Templates
replaced nbmodel.orig_nbformat by orig_nbformat
v923z -
Show More
@@ -2195,18 +2195,18 define([
2195 2195 var orig_nbformat_minor = nbmodel.metadata.orig_nbformat_minor;
2196 2196 if (orig_nbformat !== undefined && nbmodel.nbformat !== orig_nbformat) {
2197 2197 var src;
2198 if (nbmodel.nbformat > nbmodel.orig_nbformat) {
2198 if (nbmodel.nbformat > orig_nbformat) {
2199 2199 src = " an older notebook format ";
2200 2200 } else {
2201 2201 src = " a newer notebook format ";
2202 2202 }
2203 2203
2204 2204 var msg = "This notebook has been converted from" + src +
2205 "(v"+nbmodel.orig_nbformat+") to the current notebook " +
2205 "(v"+orig_nbformat+") to the current notebook " +
2206 2206 "format (v"+nbmodel.nbformat+"). The next time you save this notebook, the " +
2207 2207 "current notebook format will be used.";
2208 2208
2209 if (nbmodel.nbformat > nbmodel.orig_nbformat) {
2209 if (nbmodel.nbformat > orig_nbformat) {
2210 2210 msg += " Older versions of IPython may not be able to read the new format.";
2211 2211 } else {
2212 2212 msg += " Some features of the original notebook may not be available.";
General Comments 0
You need to be logged in to leave comments. Login now