Exchange focus between home location delete/undelete buttons
This commit is contained in:
parent
0f3f3ead0a
commit
81ce6a7de0
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,7 @@ $(document).ready(function () {
|
||||||
deleted_lat = lat;
|
deleted_lat = lat;
|
||||||
deleted_lon = lon;
|
deleted_lon = lon;
|
||||||
respondToHomeUpdate();
|
respondToHomeUpdate();
|
||||||
|
$("#home_undelete").trigger("focus");
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#home_undelete").click(function () {
|
$("#home_undelete").click(function () {
|
||||||
|
@ -104,6 +105,7 @@ $(document).ready(function () {
|
||||||
deleted_lat = null;
|
deleted_lat = null;
|
||||||
deleted_lon = null;
|
deleted_lon = null;
|
||||||
respondToHomeUpdate();
|
respondToHomeUpdate();
|
||||||
|
$("#home_delete").trigger("focus");
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
$("[data-user]").each(function () {
|
$("[data-user]").each(function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue