1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fixed themoviedb search returning no results

This commit is contained in:
Luke Pulverenti 2014-02-17 16:35:08 -05:00
parent e9a747ed77
commit 0b736d68b5
7 changed files with 33 additions and 44 deletions

View file

@ -531,35 +531,17 @@
});
if ($('.backdropFields:visible', form).length) {
config.ImageOptions.push({
Type: 'Backdrop',
Limit: $('#txtMaxBackdrops', form).val(),
MinWidth: $('#txtMinBackdropDownloadWidth', form).val()
});
config.ImageOptions.push({
Type: 'Backdrop',
Limit: $('#txtMaxBackdrops', form).val(),
MinWidth: $('#txtMinBackdropDownloadWidth', form).val()
});
} else {
config.ImageOptions.push({
Type: 'Backdrop',
Limit: 0,
MinWidth: 0
});
}
if ($('.screenshotFields:visible', form).length) {
config.ImageOptions.push({
Type: 'Screenshot',
Limit: $('#txtMaxScreenshots', form).val(),
MinWidth: $('#txtMinScreenshotDownloadWidth', form).val()
});
} else {
config.ImageOptions.push({
Type: 'Screenshot',
Limit: 0,
MinWidth: 0
});
}
config.ImageOptions.push({
Type: 'Screenshot',
Limit: $('#txtMaxScreenshots', form).val(),
MinWidth: $('#txtMinScreenshotDownloadWidth', form).val()
});
}
function onSubmit() {