tags:

views:

34

answers:

1

Using Dojo verions 1.3.2. The following code is working fine in FF and Chrome, but works sporadically in IE7/8. I'm grabing a Dialog that already being displayed and just wanting to change its contents. The oDialogContents is always exactly the same, working or not. What ends up happening is the Dialog disappears but the underlay stays so a user is forced to do a refresh to get page working again.

function showDialog(oDialogContents) {
 var dialogBox = dijit.byId(DIALOG_PAGE);
 dialogBox.attr("style","width: 400px;");
 dialogBox.attr("content", oDialogContents);
 dialogBox.show();
}