- Timestamp:
- 08/08/12 13:16:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/ui/QuestionEditorToolkit.js
r390 r391 109 109 _setValueAttr: function(question) { 110 110 this.propertiesForm.set('value', question); 111 this._categories = question.categories ;111 this._categories = question.categories || []; 112 112 this._setupListView(); 113 113 this._setupCategories(); … … 145 145 removeCallback: lang.hitch(this, this._removeCategory) 146 146 }).placeAt(this.listNode); 147 this._list.startup(); 147 148 for (var category in this._categories) { 148 149 this._list.appendItem(this._categories[category]); 149 150 } 150 this._list.startup();151 151 }, 152 152 _setupCategories: function() {
Note: See TracChangeset
for help on using the changeset viewer.