gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

Dialog with buttons: typeof is undefined - error in showcase #1030

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open the struts jquery showcase 
2. click 'Widgets' > 'Dialog' > 'Dialog with buttons'
3. click 'Open modal dialog with buttons'

What is the expected output? What do you see instead?
Would expect to not see any js errors - typeof should be defined

Which struts2 version?
2.3.4.1

Which struts2-jquery plugin version?
3.6.1

Please provide any additional information below.
Noticed this when using the dialog with buttons in our web app. While 
investigating the problem, I saw that the error was also present on the demo 
site.

The js error from Chrome console is:
Uncaught TypeError: Cannot call method 'replace' of undefined 

When debugging - console.log(typeof dialog); returns 'undefined'

Original issue reported on code.google.com by jesse.au...@gmail.com on 21 Aug 2013 at 2:21

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 24 Sep 2013 at 6:28

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/struts2-jquery/source/detail?r=1853

Original comment by johgep on 24 Sep 2013 at 7:01

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 15 Dec 2013 at 6:46

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 13 Jan 2014 at 7:25