|
|
|
@ -79,9 +79,6 @@ $("#addpackagebtn").click(function () {
|
|
|
|
|
+ ' </div>'
|
|
|
|
|
+ '</li>');
|
|
|
|
|
});
|
|
|
|
|
// Clear out unit value since it's unlikely to
|
|
|
|
|
// be used twice
|
|
|
|
|
$("input[name=unit]").val("");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// Remove any pre-existing click handlers from the history list,
|
|
|
|
@ -100,6 +97,14 @@ $(".view-main").on("click", "#historylist .history-list-item", function () {
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
document.getElementById("housenumberinput").onfocus = function () {
|
|
|
|
|
document.getElementById("housenumberinput").value = "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
document.getElementById("unitinput").onfocus = function () {
|
|
|
|
|
document.getElementById("unitinput").value = "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Restore user's last entered city/state combo
|
|
|
|
|
if (inStorage("citystate")) {
|
|
|
|
|
$("input[name=citystate]").val(getStorage("citystate").replace(/\s*[0-9]{5}$/, ""));
|
|
|
|
|