Run pre-commit on legacy code

This commit is contained in:
jo 2021-10-12 11:17:57 +02:00
parent fea11ac752
commit 83b7e4162e
323 changed files with 6126 additions and 6462 deletions

View file

@ -42,7 +42,7 @@ function setWatchedDirEvents() {
$('#storageFolder-ok').click(function(){
var url, chosen;
if(confirm(sprintf($.i18n._("Are you sure you want to change the storage folder?\nThis will remove the files from your %s library!"), PRODUCT_NAME))){
url = baseUrl+"Preference/change-stor-directory";
chosen = $('#storageFolder').val();
@ -57,7 +57,7 @@ function setWatchedDirEvents() {
});
}
else {
$('#storageFolder').val("");
$('#storageFolder').val("");
}
});
@ -77,7 +77,7 @@ function setWatchedDirEvents() {
setWatchedDirEvents();
});
});
$('.selected-item').find('.ui-icon-refresh').click(function(){
var folder = $(this).prev().text();
$.get(baseUrl+"Preference/rescan-watch-directory", {format: "json", dir: folder});
@ -125,5 +125,5 @@ $(document).ready(function() {
show: 'mouseover',
hide: 'mouseout'
});
});