From 42ef44e1b48d753f51a72f71ca22cf283ecf39da Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 20 Jan 2012 01:41:37 +0100 Subject: [PATCH] show proper feedback that collection scanning is done and show the collection afterwards --- apps/media/js/collection.js | 43 +++++++++++++++++-------------------- apps/media/js/scanner.js | 22 ++++++++++++++----- 2 files changed, 37 insertions(+), 28 deletions(-) diff --git a/apps/media/js/collection.js b/apps/media/js/collection.js index efd7db8f6aa..2249acf3cc4 100644 --- a/apps/media/js/collection.js +++ b/apps/media/js/collection.js @@ -69,7 +69,6 @@ Collection={ Collection.loadedListeners[i](); } if(data.songs.length==0){ - $('#scan input.start').val(t('media','Scan Collection')); $('#scan input.start').click(); } @@ -318,33 +317,31 @@ Collection={ } }, addSong:function(song){ - var artist=false - var album=false; - for(var i=0;i