diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-05 14:08:12 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-05 14:08:12 +0200 |
commit | ae42bb1c5f373b5d829301fcab9064cd752a4563 (patch) | |
tree | 249487824695028354c2eb15b53b2dde2d84bd0b /js/public | |
parent | 1a169b29c153389117f462f70c4d08cf91fc5dfb (diff) |
fix collapsing of folders
Diffstat (limited to 'js/public')
-rw-r--r-- | js/public/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/public/app.js b/js/public/app.js index c567e8fee..9c340462f 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -720,8 +720,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. var folder; folder = this._folderModel.getById(folderId); if (angular.isDefined(folder)) { - folder.open = !folder.open; - if (folder.open) { + folder.opened = !folder.opened; + if (folder.opened) { return this._persistence.openFolder(folder.id); } else { return this._persistence.collapseFolder(folder.id); |