Your variable "oDialog1 " is defined in method "createContent" and therefore not visible in your method "openDialog ". To avoid this error, you could enhance your method with a parameter:
openDialog : function(oDialog){ oDialog1.open(); }
Your variable "oDialog1 " is defined in method "createContent" and therefore not visible in your method "openDialog ". To avoid this error, you could enhance your method with a parameter:
openDialog : function(oDialog){ oDialog1.open(); }