diff options
Diffstat (limited to 'js/app')
-rw-r--r-- | js/app/services/bl/folderbl.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/app/services/bl/folderbl.coffee b/js/app/services/bl/folderbl.coffee index d9b2b2cff..6085ca50e 100644 --- a/js/app/services/bl/folderbl.coffee +++ b/js/app/services/bl/folderbl.coffee @@ -47,8 +47,8 @@ ItemModel, ShowAll)-> folder = @_folderModel.getById(folderId) if angular.isDefined(folder) - folder.open = !folder.open - if folder.open + folder.opened = !folder.opened + if folder.opened @_persistence.openFolder(folder.id) else @_persistence.collapseFolder(folder.id) |