diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-04-15 15:18:45 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-15 15:19:30 +0200 |
commit | b3ae2208b1ca5d913326042ca9a79aa4c01f8706 (patch) | |
tree | f1084bf55d76f1408b78e038d4c61162e703de48 /apps | |
parent | cf3bb08dfbbaeab238ae64bffd2b3a379b55f0ba (diff) | |
download | nextcloud-server-b3ae2208b1ca5d913326042ca9a79aa4c01f8706.tar.gz nextcloud-server-b3ae2208b1ca5d913326042ca9a79aa4c01f8706.zip |
clean the collection view after rescanning
Diffstat (limited to 'apps')
-rw-r--r-- | apps/media/js/collection.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/media/js/collection.js b/apps/media/js/collection.js index 753785f77b0..c345d4d9944 100644 --- a/apps/media/js/collection.js +++ b/apps/media/js/collection.js @@ -15,6 +15,11 @@ Collection={ } if(!Collection.loading){ Collection.loading=true; + Collection.artists=[]; + Collection.albums=[]; + Collection.songs=[]; + Collection.artistsById={}; + Collection.albumsById={}; $.ajax({ url: OC.linkTo('media','ajax/api.php')+'?action=get_collection', dataType: 'json', |