diff options
Diffstat (limited to 'apps/gallery/js/albums.js')
-rw-r--r-- | apps/gallery/js/albums.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/gallery/js/albums.js b/apps/gallery/js/albums.js index d3326841cc7..be121b2d70d 100644 --- a/apps/gallery/js/albums.js +++ b/apps/gallery/js/albums.js @@ -8,12 +8,15 @@ Albums={ // the album cover albums:new Array(), photos:new Array(), + shared: false, + recursive: false, + token: '', // add simply adds new album to internal structure // however albums names must be unique so other // album with the same name wont be insered, // and false will be returned // true on success - add: function(album_name, num,path) { + add: function(album_name, num, path) { if (Albums.albums[album_name] != undefined) return false; Albums.albums[album_name] = {name: album_name, numOfCovers: num, path:path}; return true; |