Fix geo link not clickable, fix error not stopping lookup
This commit is contained in:
parent
f628455434
commit
dca7956c39
@ -4,6 +4,10 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
// Open geo: url
|
||||
$(".view-main").on("click", "a #geocoords", function () {
|
||||
window.open($(this).attr("href"), "_system");
|
||||
});
|
||||
|
||||
function addressLookup() {
|
||||
if ($("#numberstreetinput").val() == "") {
|
||||
@ -15,6 +19,7 @@ function addressLookup() {
|
||||
}
|
||||
if ($("#zipcodeinput").val() == "" && ziprequired) {
|
||||
app.dialog.alert("A ZIP code or city and state are required.", "Not enough info");
|
||||
return;
|
||||
}
|
||||
app.dialog.preloader("Working...");
|
||||
var addrlookupdialogopen = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user