mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
make the home_selected ajax call async:false
This commit is contained in:
parent
36142528d7
commit
08dbbbf56b
1 changed files with 7 additions and 1 deletions
|
@ -69,8 +69,14 @@
|
||||||
<script>
|
<script>
|
||||||
var w = window.innerWidth;
|
var w = window.innerWidth;
|
||||||
function homeclick(){
|
function homeclick(){
|
||||||
|
$.ajax({
|
||||||
|
url: "/home_selected",
|
||||||
|
async: false,
|
||||||
|
success: function( data ){
|
||||||
|
console.log(data);
|
||||||
|
}
|
||||||
|
});
|
||||||
window.open("http://{{ FQDN }}","_system");
|
window.open("http://{{ FQDN }}","_system");
|
||||||
$.ajax("/home_selected");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue