- Timestamp:
- 07/29/12 00:03:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/ui/QuestionEditorToolkit.js
r378 r384 84 84 _setupListView: function() { 85 85 this._list = new CategoryListView( { 86 controller: this, 87 removeCallback: lang.hitch(this, this._removeCategory), 86 removeCallback: lang.hitch(this, this._removeCategory) 88 87 }).placeAt(this.listNode); 89 for ( category in this._categories) {90 this._list. insertItem(this._categories[category]);88 for (var category in this._categories) { 89 this._list.appendItem(this._categories[category]); 91 90 } 92 91 this._list.startup(); … … 124 123 _addCategory: function(item) { 125 124 this._categories.push(item); 126 this._list. insertItem(item);125 this._list.appendItem(item); 127 126 }, 128 127 _removeCategory: function(item) {
Note: See TracChangeset
for help on using the changeset viewer.