diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-08-13 17:41:34 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-08-13 17:41:34 +0200 |
commit | ee8e6d5442f1b3c5de774934ce366442afd706c5 (patch) | |
tree | 0de31adede9a3c04550e8f02ebb58ac735ab6c7e /apps/media/js | |
parent | 44b59e38230d7d33a8f21aa3f9bc25381966f790 (diff) | |
download | nextcloud-server-ee8e6d5442f1b3c5de774934ce366442afd706c5.tar.gz nextcloud-server-ee8e6d5442f1b3c5de774934ce366442afd706c5.zip |
DONT always scan the collection, I would like to keep some cpu cycles to actually use my pc
Diffstat (limited to 'apps/media/js')
-rw-r--r-- | apps/media/js/collection.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/media/js/collection.js b/apps/media/js/collection.js index 15c83b86229..98d21b236e0 100644 --- a/apps/media/js/collection.js +++ b/apps/media/js/collection.js @@ -34,7 +34,7 @@ Collection={ } if(collection.length==0){ $('#scan input.start').val(t('media','Scan Collection')); - $('#plugins a[href="#collection"]').trigger('click'); + $('#scan input.start').click(); } } @@ -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(); - //}); + }); }); |