Skip to content
Snippets Groups Projects
Commit cc23dfb8 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 a16a872d 8a784554
No related branches found
No related tags found
2 merge requests!1040Development,!1031Resolve "Bei den Einstellungen lässt sich der Punkt "Abfragemethode" nicht über den LocalStorage abspeichern."
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment