DONT always scan the collection, I would like to keep some cpu cycles to actually use my pc
This commit is contained in:
parent
44b59e3823
commit
ee8e6d5442
|
@ -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();
|
||||
//});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue