Changes between Version 2 and Version 3 of Ticket #10864
- Timestamp:
- Sep 17, 2013, 9:53:50 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10864
-
Property
Summary
changed from
Extend widget instance only with chosen definition's properties
toSet "repository" and "definition" properties in widget constructor not when registering definition
-
Property
Summary
changed from
-
Ticket #10864 – Description
v2 v3 1 Currently we load all definition's properties to widget instance. We should only load `init` method, `name` and perhaps nothing more. 2 3 In some places code tries to access widget.dialog property and so on, but this should be changed to widget.definition.dialog. 4 5 Also, widget.repository and widget.definition should not come from definition object, but should be set in widget's constructor. 1 Both properties are unnecessarily set in widget definition object.