EasyUI Forum
April 19, 2024, 03:09:34 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Messager progress not showing up  (Read 1134 times)
Wojak
Newbie
*
Posts: 48


View Profile Email
« 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.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 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>
Logged
Wojak
Newbie
*
Posts: 48


View Profile Email
« Reply #2 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!