mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-08-05 12:40:39 +08:00
Task gets added but not saved; Fix it
This commit is contained in:
@@ -11,7 +11,7 @@ var app = app || {};
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
this.collection = new app.List();
|
||||
app.Tasks = this.collection = new app.List();
|
||||
this.collection.fetch();
|
||||
this.listenTo(this.collection, 'add', this.renderTask);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user