Fix showing completed tasks in newly created lists, fixes #241
This commit is contained in:
parent
81f31d39c6
commit
ea35a746eb
3 changed files with 6 additions and 4 deletions
|
@ -74,6 +74,7 @@ CollectionsModel, ListsBusinessLayer, $location, SearchBusinessLayer) ->
|
|||
list = {
|
||||
tmpID: 'newList' + Date.now()
|
||||
displayname: _$scope.status.newListName
|
||||
notLoaded: 0
|
||||
}
|
||||
_$listsbusinesslayer.addList list
|
||||
, (data) =>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
(function(angular, $, moment, undefined){
|
||||
|
||||
/**
|
||||
* ownCloud Task App - v0.6.0
|
||||
* ownCloud Task App - v0.7.1
|
||||
*
|
||||
* Copyright (c) 2015 - Raimund Schlüßler <raimund.schluessler@googlemail.com>
|
||||
*
|
||||
|
@ -860,7 +860,8 @@
|
|||
_$scope.isAddingList = true;
|
||||
list = {
|
||||
tmpID: 'newList' + Date.now(),
|
||||
displayname: _$scope.status.newListName
|
||||
displayname: _$scope.status.newListName,
|
||||
notLoaded: 0
|
||||
};
|
||||
_$listsbusinesslayer.addList(list, function(data) {
|
||||
_$listsmodel.add(data.list);
|
||||
|
|
Loading…
Reference in a new issue