Ignore:
Timestamp:
07/29/12 00:03:52 (13 years ago)
Author:
hendrikvanantwerpen
Message:
  • Cleanup of the differen ListViews?, List & OrderedList?. Based QuestionListView? on these base classes as well. Removed duplicate code.
  • Destroy busy indicator of TabbedQuestionBrowser? (because it's placed outside of the widgets DOM tree, this is not done automatically).
  • Use dojo/date/stamp module for uniform and parsable date formatting.
  • Added docs/ directory for database format documentation etc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/ui/QuestionEditorToolkit.js

    r378 r384  
    8484                        _setupListView: function() {
    8585                                this._list = new CategoryListView( {
    86                                         controller: this,
    87                                         removeCallback: lang.hitch(this, this._removeCategory),
     86                                        removeCallback: lang.hitch(this, this._removeCategory)
    8887                                }).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]);
    9190                                }       
    9291                                this._list.startup();
     
    124123                        _addCategory: function(item) {
    125124                                this._categories.push(item);
    126                                 this._list.insertItem(item);
     125                                this._list.appendItem(item);
    127126                        },
    128127                        _removeCategory: function(item) {
Note: See TracChangeset for help on using the changeset viewer.