Modify zk progress prompt to be rendered at middle of screen and mask screen from user access.

This commit is contained in:
Heng Sin Low 2011-02-07 12:04:25 +08:00
parent 6170d4bf3a
commit ba556ff480
1 changed files with 7 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<!-- change to false to use compress js which is much smaller --> <!-- change to false to use compress js which is much smaller -->
<client-config> <client-config>
<debug-js>false</debug-js> <debug-js>false</debug-js>
<processing-prompt-delay>100</processing-prompt-delay> <processing-prompt-delay>500</processing-prompt-delay>
</client-config> </client-config>
<!-- <!--
@ -52,6 +52,12 @@
<device-config> <device-config>
<device-type>ajax</device-type> <device-type>ajax</device-type>
<server-push-class>org.zkoss.zkmax.ui.comet.CometServerPush</server-push-class> <server-push-class>org.zkoss.zkmax.ui.comet.CometServerPush</server-push-class>
<!-- Configure the progress message to show in the center -->
<embed>
<![CDATA[<script type="text/javascript">
AU_progressbar=function(id,msg){Boot_progressbox(id,msg,"45%","45%",true,false);};
</script>]]>
</embed>
</device-config> </device-config>
<library-property> <library-property>