Error Dojo Widget in IE only 'Already registered with that id '

53 Views Asked by At

I have a dojo widget, when trying to open in IE only it is showing error

" Already registered with that id "Frm1gpop"

var formDlg = new xwt.widget.layout.Dialog({
  title: DialogTitle + "  Selection",
  defaultButtonLabel: "Cancel",
  "class": "frmdes",
  "id": "frmdlgpop",
  style: "width:70%!important;"
});

formDlg.startup();
1

There are 1 best solutions below

3
Maess On

Dojo doesn't allow you to have multiple widgets registered with the same id. I would posit that the code which calls formDlg.startup(); is being called from multiple places.