mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update schedules direct
This commit is contained in:
parent
ac2b34c25d
commit
a3c09327e0
2 changed files with 10 additions and 0 deletions
|
@ -51,6 +51,14 @@
|
||||||
</div>
|
</div>
|
||||||
<form class="formListings">
|
<form class="formListings">
|
||||||
<div>
|
<div>
|
||||||
|
<div>
|
||||||
|
<br />
|
||||||
|
<label for="selectCountry">${LabelCountry}</label>
|
||||||
|
<select id="selectCountry" data-mini="true" required="required">
|
||||||
|
<option value="ca">Canada</option>
|
||||||
|
<option value="us" selected>United States</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<br />
|
<br />
|
||||||
<label for="txtZipCode">${LabelZipCode}</label>
|
<label for="txtZipCode">${LabelZipCode}</label>
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
listingsId = info.ListingsId;
|
listingsId = info.ListingsId;
|
||||||
$('#selectListing', page).val(info.ListingsId || '').selectmenu('refresh');
|
$('#selectListing', page).val(info.ListingsId || '').selectmenu('refresh');
|
||||||
|
$('#selectCountry', page).val(info.Country || '').selectmenu('refresh');
|
||||||
$('#txtZipCode', page).val(info.ZipCode || '').trigger('change');
|
$('#txtZipCode', page).val(info.ZipCode || '').trigger('change');
|
||||||
$('#txtUser', page).val(info.Username || '');
|
$('#txtUser', page).val(info.Username || '');
|
||||||
|
|
||||||
|
@ -66,6 +67,7 @@
|
||||||
})[0];
|
})[0];
|
||||||
|
|
||||||
info.ZipCode = $('#txtZipCode', page).val();
|
info.ZipCode = $('#txtZipCode', page).val();
|
||||||
|
info.Country = $('#selectCountry', page).val();
|
||||||
info.ListingsId = $('#selectListing', page).val();
|
info.ListingsId = $('#selectListing', page).val();
|
||||||
|
|
||||||
ApiClient.ajax({
|
ApiClient.ajax({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue