preparing to add actions to contacts on route

This commit is contained in:
Stephan Richter
2020-10-28 18:53:27 +01:00
parent 27d5b91b18
commit 648bc708ea
6 changed files with 42 additions and 2 deletions

View File

@@ -203,6 +203,10 @@ function stream(ev){
addMessage(data);
}
function submitForm(formId){
return request($('#'+formId).serialize());
}
function swapTiling(ev){
var vertical = getCookie("tiling") == 'v';
document.cookie = "tiling="+(vertical?'h':'v');