update schedules direct

This commit is contained in:
Luke Pulverenti 2015-07-23 13:58:20 -04:00
parent ac2b34c25d
commit a3c09327e0
2 changed files with 10 additions and 0 deletions

View File

@ -51,6 +51,14 @@
</div>
<form class="formListings">
<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>
<br />
<label for="txtZipCode">${LabelZipCode}</label>

View File

@ -13,6 +13,7 @@
listingsId = info.ListingsId;
$('#selectListing', page).val(info.ListingsId || '').selectmenu('refresh');
$('#selectCountry', page).val(info.Country || '').selectmenu('refresh');
$('#txtZipCode', page).val(info.ZipCode || '').trigger('change');
$('#txtUser', page).val(info.Username || '');
@ -66,6 +67,7 @@
})[0];
info.ZipCode = $('#txtZipCode', page).val();
info.Country = $('#selectCountry', page).val();
info.ListingsId = $('#selectListing', page).val();
ApiClient.ajax({