Commit f2148e44 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

test dynamic header

parent df4adf74
Pipeline #109 passed with stage
in 4 seconds
......@@ -96,8 +96,8 @@ function head(){
headlink.href="/account/";
}else if(document.getElementById('loginswitch').getAttribute('authenticated') == '2'){
headlink.innerHTML="Logout";
headlink.setAttribute('th:action') = "@{logout}";
headlink.setAttribute('method') = "post";
headlink.setAttribute('th:action',"@{logout}");
headlink.setAttribute('method',"post");
}
}
......
Markdown is supported
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