                             for cmd in ['new', 'open', 'copy', 'rename']
                                 @frame.$("#" + cmd + "_notebook").remove()
 
-                            @frame.$("#save-notbook").remove()  # typo in ipython-3
+                            @frame.$("#save_checkpoint").remove()
+                            @frame.$("#restore_checkpoint").remove()
                             @frame.$("#save-notebook").remove()  # in case they fix the typo
 
                             @frame.$(".checkpoint_status").remove()


    constructor: (@editor, @filename, opts={}) ->
        opts = @opts = defaults opts,
            sync_interval   : 1000
            cursor_interval : 2000
            read_only : false
        window.s = @

        doc = misc.to_json({notebook_name:obj.metadata.name})
        for cell in obj.cells
            doc += '\n' + @cell_to_line(cell)
        @nb.dirty = 'clean' # see comment in autosync
        #@dbg("nb_to_string", "time", misc.mswalltime(tm))
        return doc

