@@ -105,6 +105,7 @@ UI.Panel = function () {
105105} ;
106106
107107UI . Panel . prototype = Object . create ( UI . Element . prototype ) ;
108+ UI . Panel . prototype . constructor = UI . Panel ;
108109
109110UI . Panel . prototype . add = function ( ) {
110111
@@ -194,6 +195,7 @@ UI.CollapsiblePanel = function () {
194195} ;
195196
196197UI . CollapsiblePanel . prototype = Object . create ( UI . Panel . prototype ) ;
198+ UI . CollapsiblePanel . prototype . constructor = UI . CollapsiblePanel ;
197199
198200UI . CollapsiblePanel . prototype . addStatic = function ( ) {
199201
@@ -303,6 +305,7 @@ UI.Text = function ( text ) {
303305} ;
304306
305307UI . Text . prototype = Object . create ( UI . Element . prototype ) ;
308+ UI . Text . prototype . constructor = UI . Text ;
306309
307310UI . Text . prototype . setValue = function ( value ) {
308311
@@ -343,6 +346,7 @@ UI.Input = function () {
343346} ;
344347
345348UI . Input . prototype = Object . create ( UI . Element . prototype ) ;
349+ UI . Input . prototype . constructor = UI . Input ;
346350
347351UI . Input . prototype . getValue = function ( ) {
348352
@@ -398,6 +402,7 @@ UI.TextArea = function () {
398402} ;
399403
400404UI . TextArea . prototype = Object . create ( UI . Element . prototype ) ;
405+ UI . TextArea . prototype . constructor = UI . TextArea ;
401406
402407UI . TextArea . prototype . getValue = function ( ) {
403408
@@ -436,6 +441,7 @@ UI.Select = function () {
436441} ;
437442
438443UI . Select . prototype = Object . create ( UI . Element . prototype ) ;
444+ UI . Select . prototype . constructor = UI . Select ;
439445
440446UI . Select . prototype . setMultiple = function ( boolean ) {
441447
@@ -552,6 +558,7 @@ UI.FancySelect = function () {
552558} ;
553559
554560UI . FancySelect . prototype = Object . create ( UI . Element . prototype ) ;
561+ UI . FancySelect . prototype . constructor = UI . FancySelect ;
555562
556563UI . FancySelect . prototype . setOptions = function ( options ) {
557564
@@ -662,6 +669,7 @@ UI.Checkbox = function ( boolean ) {
662669} ;
663670
664671UI . Checkbox . prototype = Object . create ( UI . Element . prototype ) ;
672+ UI . Checkbox . prototype . constructor = UI . Checkbox ;
665673
666674UI . Checkbox . prototype . getValue = function ( ) {
667675
@@ -712,6 +720,7 @@ UI.Color = function () {
712720} ;
713721
714722UI . Color . prototype = Object . create ( UI . Element . prototype ) ;
723+ UI . Color . prototype . constructor = UI . Color ;
715724
716725UI . Color . prototype . getValue = function ( ) {
717726
@@ -871,6 +880,7 @@ UI.Number = function ( number ) {
871880} ;
872881
873882UI . Number . prototype = Object . create ( UI . Element . prototype ) ;
883+ UI . Number . prototype . constructor = UI . Number ;
874884
875885UI . Number . prototype . getValue = function ( ) {
876886
@@ -1034,6 +1044,7 @@ UI.Integer = function ( number ) {
10341044} ;
10351045
10361046UI . Integer . prototype = Object . create ( UI . Element . prototype ) ;
1047+ UI . Integer . prototype . constructor = UI . Integer ;
10371048
10381049UI . Integer . prototype . getValue = function ( ) {
10391050
@@ -1079,6 +1090,7 @@ UI.Break = function () {
10791090} ;
10801091
10811092UI . Break . prototype = Object . create ( UI . Element . prototype ) ;
1093+ UI . Break . prototype . constructor = UI . Break ;
10821094
10831095
10841096// HorizontalRule
@@ -1097,6 +1109,7 @@ UI.HorizontalRule = function () {
10971109} ;
10981110
10991111UI . HorizontalRule . prototype = Object . create ( UI . Element . prototype ) ;
1112+ UI . HorizontalRule . prototype . constructor = UI . HorizontalRule ;
11001113
11011114
11021115// Button
@@ -1118,6 +1131,7 @@ UI.Button = function ( value ) {
11181131} ;
11191132
11201133UI . Button . prototype = Object . create ( UI . Element . prototype ) ;
1134+ UI . Button . prototype . constructor = UI . Button ;
11211135
11221136UI . Button . prototype . setLabel = function ( value ) {
11231137
@@ -1164,6 +1178,7 @@ UI.Dialog = function ( value ) {
11641178} ;
11651179
11661180UI . Dialog . prototype = Object . create ( UI . Panel . prototype ) ;
1181+ UI . Dialog . prototype . constructor = UI . Dialog ;
11671182
11681183UI . Dialog . prototype . showModal = function ( ) {
11691184
0 commit comments