Last change
on this file since 441 was
441,
checked in by hendrikvanantwerpen, 12 years ago
|
Big cleanup of the question content.
- Replaced old list implementations with a new one that behaves like a form widget.
- All question content is now in separate widgets, not in the factory itself.
- Added form and widget validation for question editing.
|
File size:
457 bytes
|
Line | |
---|
1 | define([ |
---|
2 | "../../../widgets/_ComplexValueWidget", |
---|
3 | "dojo/_base/declare", |
---|
4 | "dojo/text!./templates/HeaderConfigWidget.html" |
---|
5 | ], function(_ComplexValueWidget, declare, template) { |
---|
6 | return declare([_ComplexValueWidget],{ |
---|
7 | type: 'Header', |
---|
8 | templateString: template, |
---|
9 | _getValueAttr: function() { |
---|
10 | var value = this.inherited(arguments); |
---|
11 | value.type = this.type; |
---|
12 | return value; |
---|
13 | } |
---|
14 | }); |
---|
15 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.