editItemCancel(id){
        this.model.read(id, data => {
            let title = data[0].title;
            this.view.render('editItemDone', {id, title});
        });
    }
/*
     * Cancels the item editing mode.
     */
Cancels the item editing mode.
Cancels the item editing mode .
editItemCancel(id){
        this.model.read(id, data => {
            let title = data[0].title;
            this.view.render('editItemDone', {id, title});
        });
    }
editItemCancel ( id ) { this . model . read ( id , data => { let title = data [ 0 ] . title ; this . view . render ( 'editItemDone' , { id , title } ) ; } ) ; }
Cancels the item editing mode.
Cancels the item editing mode .