Hello,
Does Window component support nested modal window?
I tried to open two modal windows like the sample code
<
script
type
=
"text/JavaScript"
>
function openWinOne() {
var winOne = jQuery("\#win_one");
if (!winOne.data("kendoWindow")) {
winOne.kendoWindow({
modal: true
}).data("kendoWindow").center();
}
......
}
function openWinTwo() {
var winOne = jQuery("\#win_two");
if (!winOne.data("kendoWindow")) {
winOne.kendoWindow({
modal: true
}).data("kendoWindow").center();
}
......
}
</
script
>
<
div
id
=
"test"
>
<
button
onClick
=
"openWinOne();"
>
</
div
>
<
div
id
=
"win_one"
style
=
"display: none;"
>
<
button
onClick
=
"openWinTwo();"
>
</
div
>
<
div
id
=
"win_two"
style
=
"display: none;"
>
</
div
>
When closing the 2nd modal window, the focus is returned to 1st modal window but the background mask is also removed.
How can I keep the background mask when closing the nested modal windows?