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:
parent
008ae5d937
commit
60b0a0999e
1 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue