diff options
Diffstat (limited to 'modules-available/locations/templates')
-rw-r--r-- | modules-available/locations/templates/location-subnets.html | 4 | ||||
-rw-r--r-- | modules-available/locations/templates/locations.html | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/modules-available/locations/templates/location-subnets.html b/modules-available/locations/templates/location-subnets.html index 69e369c2..897f84b0 100644 --- a/modules-available/locations/templates/location-subnets.html +++ b/modules-available/locations/templates/location-subnets.html @@ -102,8 +102,8 @@ <div class="modal-body"> {{lang_areYouSureNoUndo}} <div class="checkbox"> - <input type="checkbox" name="recursive" value="on"> - <label>{{lang_deleteChildLocations}}</label> + <input type="checkbox" name="recursive" value="on" id="del-rec-{{locationid}}"> + <label for="del-rec-{{locationid}}">{{lang_deleteChildLocations}}</label> </div> </div> <div class="modal-footer"> diff --git a/modules-available/locations/templates/locations.html b/modules-available/locations/templates/locations.html index a2d6cafc..7bdf3038 100644 --- a/modules-available/locations/templates/locations.html +++ b/modules-available/locations/templates/locations.html @@ -223,10 +223,6 @@ function removeNewSubnetRow(r) { $("#row"+r).remove(); } -function slxConfirm() { - return confirm('{{lang_areYouSureNoUndo}}'); -} - function deleteSubnetWarning(locid) { var form = $("#locationForm"+locid); if (form.find("input[type=checkbox]:checked").length > 0) { |