summaryrefslogtreecommitdiffstats
path: root/modules-available/locations/templates/location-subnets.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locations/templates/location-subnets.html')
-rw-r--r--modules-available/locations/templates/location-subnets.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/modules-available/locations/templates/location-subnets.html b/modules-available/locations/templates/location-subnets.html
index f88e2908..e954bf10 100644
--- a/modules-available/locations/templates/location-subnets.html
+++ b/modules-available/locations/templates/location-subnets.html
@@ -142,28 +142,24 @@
<div class="modal-dialog">
<div class="modal-content">
- <form method="post" action="?do=Locations" id="settings-form">
+ <form method="post" action="?do=Locations">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="updateOpeningtimes">
<input type="hidden" name="page" value="details">
- <input type="hidden" name="openingtimes" id="json-openingtimes" value="">
+ <input type="hidden" name="openingtimes" value="">
+ <input type="hidden" name="locationid" value="{{locationid}}">
<div class="modal-header">{{locationname}}</div>
<div class="modal-body"></div>
<div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal" onclick="$('#openingTimesModal{{locationid}} .modal-body').html('')">{{lang_close}}</button>
+ <button type="button" class="btn btn-default" data-dismiss="modal">{{lang_close}}</button>
<button type="submit" class="btn btn-primary">
<span class="glyphicon glyphicon-floppy-disk"></span>
{{lang_save}}
</button>
</div>
-
</form>
</div>
</div>
</div>
-
-<script type="text/javascript">
- $('#settings-form').submit(submitLocationSettings);
-</script> \ No newline at end of file