diff --git a/apps/media/js/collection.js b/apps/media/js/collection.js index 8ef10951b6bbf476f25eac26c74235ac8cef5003..15c83b862298609b1e5b6c0da609ebb519440b3a 100644 --- a/apps/media/js/collection.js +++ b/apps/media/js/collection.js @@ -244,12 +244,12 @@ $(document).ready(function(){ Collection.parent=$('#collection'); Collection.load(); Collection.parent.hide(); - $('#scan input.start').click(function(){ + //$('#scan input.start').click(function(){ $('#scan input.start').hide(); $('#scan input.stop').show(); $('#scan input.stop').click(function(){ Scanner.toggle(); }); Scanner.scanCollection(); - }); + //}); }); diff --git a/apps/media/templates/music.php b/apps/media/templates/music.php index d3917ac8137916db7429ae4f4283f416a74e83d7..9c31ddd288a58ae9c7d4c4f8ce1db3dabdb57a3c 100644 --- a/apps/media/templates/music.php +++ b/apps/media/templates/music.php @@ -24,10 +24,11 @@ <div id="rightcontent"> <div id="scan"> - <p id="scancount" style="display:none"><span class="songCount">0</span> <?php echo $l->t('Songs scanned')?></p> - <div id="scanprogressbar"></div> + <p id="scancount" style="display:none"><span class="songCount">0</span> <?php echo $l->t('Songs scanned')?> <input type="button" class="start" value="<?php echo $l->t('Rescan Collection')?>"></input> - <input type="button" class="stop" style="display:none" value="<?php echo $l->t('Pause')?>"></input> + <input type="button" class="stop" style="display:none" value="<?php echo $l->t('Pause')?>"></input></p> + <div id="scanprogressbar"></div> + </div> <table id="collection"> <thead>