Dojo对话框嵌套 [英] Dojo dialog nesting

查看:161
本文介绍了Dojo对话框嵌套的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

解决方案

dojo 1.3只能一次支持一个模态对话框,所以同时,是的,一个对话框可以打开另一个对话框,关闭第二个对象可以破坏第一个模式。



这是因为dojo.Dialog使用一个提供屏幕的单个全局底层对象在对话框和页面上的任何其他内容之间。如果您正在为每个对话框创建自己的底线并自行管理z-索引,您可以使其正常工作。



我明白这将在1.4中得到纠正。


can a dojo dialog bring up another dojo dialog?

解决方案

dojo 1.3 only supports one modal dialog at a time, so while, yes, one dialog can open another, closing the second destroys the modality of the first.

This happens because dojo.Dialog uses a single global underlay object that provides screen between the dialog and anything else on the page. You can make it work if you're wiling to create your own underlay for each dialog and manage the z-indexes yourself.

I understand this will be rectified in 1.4.

这篇关于Dojo对话框嵌套的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆