summaryrefslogtreecommitdiffstats
path: root/js/public
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-05 14:08:12 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-05 14:08:12 +0200
commitae42bb1c5f373b5d829301fcab9064cd752a4563 (patch)
tree249487824695028354c2eb15b53b2dde2d84bd0b /js/public
parent1a169b29c153389117f462f70c4d08cf91fc5dfb (diff)
fix collapsing of folders
Diffstat (limited to 'js/public')
-rw-r--r--js/public/app.js4
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);