This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
I think I got this from Mark Hughes' blog, not sure -- definitely not my doings.
/**
* Creates a dijit dialog box based on a div content
* @param id div identifier
*/
function dialog_create(id, title1) {
// first check if the Dialog is there so we don't create a duplicate
var dialogWidget = dijit.byId(id);
if( dialogWidget )
dialogWidget.destroyRecursive(true);
// create a new Dialog
dialogWidget = new dijit.Dialog(
{ title: title1, duration:600 },
dojo.byId(id));
// move the new Dialog inside the form tag
var dialog = dojo.byId(id);
dialog.parentNode.removeChild(dialog);
var form = document.forms[0];
form.appendChild(dialog);
dialogWidget.startup();
};
Feedback response number JKIN86WL5A created by ~Denise Zenfreetexjip on 06/30/2010