mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 16:22:55 -07:00
Fixes issue #62
This commit is contained in:
parent
b100fbe678
commit
c9d2b8fc13
10 changed files with 73 additions and 17 deletions
|
@ -39,9 +39,14 @@ $(document).on("click", ".dropdownTv", function (e) {
|
|||
var $form = $('#form' + buttonId);
|
||||
var data = $form.serialize();
|
||||
var seasons = $(this).attr("season-select");
|
||||
if (seasons === "1") {
|
||||
if (seasons === "2") {
|
||||
// Send over the latest
|
||||
data = data + "&latest=true";
|
||||
data = data + "&seasons=latest";
|
||||
}
|
||||
if (seasons === "1") {
|
||||
// Send over the first season
|
||||
data = data + "&seasons=first";
|
||||
|
||||
}
|
||||
|
||||
var type = $form.prop('method');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue