Commit c9c603c9 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch...

Merge branch '581-bei-den-einstellungen-lasst-sich-der-punkt-abfragemethode-nicht-uber-den-localstorage-abspeichern' into 'development'

Resolve "Bei den Einstellungen lässt sich der Punkt "Abfragemethode" nicht über den LocalStorage abspeichern."

Closes #581

See merge request !1031
parents f1de79f2 1d36a4b1
......@@ -103,6 +103,11 @@ function setSettings () {
if (autocomplete !== null) {
$('input[name=eingabe]').attr('autocomplete', autocomplete);
}
// Change the request method to the given parameter
var requestMethod = localStorage.getItem('request');
if (requestMethod !== null && (requestMethod === 'GET' || requestMethod === 'POST')) {
$('#searchForm').attr('method', requestMethod);
}
if ($('fieldset#foki.mobile').length) {
$('fieldset.mobile input#bilder').val('angepasst');
$('fieldset.mobile input#bilder').prop('checked', true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment