1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

make the home_selected ajax call async:false

This commit is contained in:
George Hunt 2019-12-24 16:03:44 +00:00
parent 008ae5d937
commit 60b0a0999e

View file

@ -69,8 +69,14 @@
<script>
var w = window.innerWidth;
function homeclick(){
$.ajax({
url: "/home_selected",
async: false,
success: function( data ){
console.log(data);
}
});
window.open("http://{{ FQDN }}","_system");
$.ajax("/home_selected");
}
</script>