Hello,
How do I stop a dialog being closed by the user (via the cross)?
john
You can fetch the dialog by id and set the "alreadyInitialized" attribute to false.
to make it close able make it true..............
var my_dialog = dijit.byId("id"); my_dialog._alreadyInitialized=false;
hide the close icon with css. It would be something like:
.dijitDialog .dijitDialogCloseIcon { display:none; }
try this............
You can fetch the dialog by id and set the "alreadyInitialized" attribute to false.
to make it close able make it true..............
var my_dialog = dijit.byId("id"); my_dialog._alreadyInitialized=false;hide it.
hide the close icon with css. It would be something like:
.dijitDialog .dijitDialogCloseIcon { display:none; }