EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Wojak on October 11, 2022, 11:16:49 PM



Title: Messager progress not showing up
Post by: Wojak on October 11, 2022, 11:16:49 PM
Hi,
When there is a window open, the messager won't show up, as if it was behind that window or it wasn't showing at all.


Title: Re: Messager progress not showing up
Post by: jarry on October 12, 2022, 01:52:20 AM
Please look at this example. It works fine.
Code:
<div class="easyui-window" style="width: 400px;height:200px;padding:20px">
<button class="easyui-linkbutton" onclick="showprogress()">Show Progress</button>
</div>
<script>
function showprogress(){
var win = $.messager.progress({
title:'Please waiting',
msg:'Loading data...'
});
setTimeout(function(){
$.messager.progress('close');
},5000)
}
</script>


Title: Re: Messager progress not showing up
Post by: Wojak on October 12, 2022, 03:34:06 AM
Ok, but after some investigation I found that after declaring this messager I use
Code:
$.ajaxSetup({ async: false });
and some computers with the same browser show this progress and some don't