Ignore:
Timestamp:
07/29/12 16:04:45 (13 years ago)
Author:
hendrikvanantwerpen
Message:
  • Changed questions view to return null for empty topic/categorie and leave presentation of null to TabbedQuestionWidget?.
File:
1 edited

Legend:

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

    r384 r386  
    2020            _busyCount: 0,
    2121            constructor: function(){
     22                this.inherited(arguments);
    2223                this._dataMap = {};
    2324            },
    2425            startup: function() {
     26                this.inherited(arguments);
    2527                this._busyWidget = new Standby({
    2628                    target: this.domNode,
     
    4042                    var categoryTab = new ContentPane({
    4143                        __category: category,
    42                         title: category+" ("+count+")"
     44                        title: (category || '[No category]')+" ("+count+")"
    4345                    });
    4446                    categoryTab.startup();
     
    6870                        __category: category,
    6971                        __topic: topic,
    70                         title: topic+" ("+count+")",
     72                        title: (topic || '[No topic]')+" ("+count+")",
    7173                        selectedActions: this.selectedActions,
    7274                        itemActions: this.itemActions
Note: See TracChangeset for help on using the changeset viewer.