- Timestamp:
- 12/27/12 17:46:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/qed/model/widgets/QuestionWidgetFactory.js
r417 r421 353 353 354 354 var MultipleChoiceInputEdit = declare([_WidgetBase, _Container], { 355 _codeInput: null,356 355 _multipleInput: null, 357 356 postCreate: function() { 358 357 var table = new TableContainer({ cols: 1, customClass: "labelsAndValues"} ); 359 360 this._codeInput = new TextBox({361 title: "Code"362 });363 table.addChild(this._codeInput);364 this._codeInput.startup();365 358 366 359 this._multipleInput = new CheckBox({ … … 390 383 391 384 _setValueAttr: function(value) { 392 this._codeInput.set('value', value.code || "");393 385 this._multipleInput.set('checked', value.multiple); 394 386 this._optionsList.deleteItems(); … … 398 390 return { 399 391 type: "MultipleChoiceInput", 400 code: this._codeInput.get('value') || "",401 392 multiple: this._multipleInput.get('checked'), 402 393 items: array.map(this._optionsList.getItems(),function(item){
Note: See TracChangeset
for help on using the changeset viewer.