Loading ...
Sorry, an error occurred while loading the content.

this.configChangeEvent has no properties error while destroying the dialog.(2.3.0 version only)

Expand Messages
  • mohan kumar
    Hi, I replaced 2.2.0 files with new version 2.3.0 files. I am getting the following error while destroying the dialog. this.configchangeEvent has no
    Message 1 of 1 , Aug 31 2:34 AM
    • 0 Attachment
      Hi,
      I replaced 2.2.0 files with new version 2.3.0 files.
      I am getting the following error while destroying the dialog.
      this.configchangeEvent has no properties.

      var renameDialog = new YAHOO.widget.Dialog("renameDialog",{ width:"400px", visible : false, fixedcenter : true,modal : true,draggable : true,iframe:true} );

      renameDialog.setHeader("Rename Graph");

      renameDialog.setBody("<form name=renameForm accept-charset='utf-8'><table cellspacing=10 cellpadding=5 border=0><tr><td><lable>Graph Name:</lable></td><td><input type='textbox' accept-charset='utf-8' name='graphName' size='30' maxlength= '60'></td></tr><tr><td colspan = 2><input type=button class=button value='Apply' onClick='validteform(renameForm)'>&nbsp<input type=button class=button value='Cancel' onClick='renameDialog.hide()'></td></tr></table></form>");
                
      renameDialog.cfg.setProperty("draggable",true);

      renameDialog.render(document.body);

      renameDialog.hideEvent.subscribe(mdestroy,renameDialog,true);

      renameDialog.show();


      function mdestroy() {
       renameDialog.destroy();
      }

      When i am calling renameDialog destroy it is throwing java script error.
      this.configChangeEvent has no properties.

      this error comes after i updated 2.2.0 with 2.3.0 files.

      hope will reply me. I am struck here.

      thanks,
      Mohan






      Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when.
    Your message has been successfully submitted and would be delivered to recipients shortly.