Changeset 18314

Show
Ignore:
Timestamp:
11/07/08 11:42:31 (2 months ago)
Author:
ritesh
Message:

Assignments Dashboard Bug Fixes:

  • Manually expanding a project node and navigating to next page disables all page navigation buttons.
  • Error message displayed for Date format is incorrect.




Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/core/web/src/components/BaseTreeGrid.js

    r18310 r18314  
    16851685        onClick : function(which) 
    16861686        { 
     1687                //[For 'Personal Assignments Dashboard': if assignmentTreeGrid is defined ].  
     1688                if(typeof(assignmentTreeGrid) != 'undefine'){ 
     1689                        assignmentTreeGrid.getSelectionModel().clearSelections(); 
     1690                } 
     1691                 
    16871692                var store = this.store, 
    16881693                                cursor = store ? store.getActiveNodePageOffset() : 0, 
     
    17131718        { 
    17141719                if (this.rendered) { 
    1715                         this.updateUI(); 
     1720                        //this.updateUI(); 
    17161721                } 
    17171722        } 
  • trunk/core/web/src/components/myAssignments-dashboardPanel.js

    r18310 r18314  
    269269                   method: 'POST', 
    270270                   success: function(result, request){ 
    271                                assignmentTreeGrid.getBottomToolbar().displayMsg = '<b>Total Assignments: '+result.responseText+' </b>', 
     271                            assignmentTreeGrid.getBottomToolbar().displayMsg = '<b>Total Assignments: '+result.responseText+' </b>'; 
    272272                                nodeSelect = false; 
    273273                                //assignmentTreeGrid.getStore().reload(); 
  • trunk/core/web/src/components/myAssignments-filterForm.js

    r18310 r18314  
    103103                                                value : startDateValue, 
    104104                                                format:'m/d/Y', 
     105                                                invalidText:'Current date is not a valid date. It must be in the format mm/dd/yyyy', 
    105106                                                width : 70, 
    106107                                                labelSeparator : ':' 
     
    141142                                                value : endDateValue, 
    142143                                                format:'m/d/Y', 
     144                                                invalidText:'Current date is not a valid date. It must be in the format mm/dd/yyyy', 
    143145                                                width :70 
    144146                                        }), 
  • trunk/core/web/src/components/myAssignments-treeGrid.js

    r18310 r18314  
    136136            ] 
    137137            , 
    138                         bbar: new Ext.PagingToolbar({ 
     138                        bbar: new Ext.ux.maximgb.treegrid.PagingToolbar({ 
    139139                        store: store, 
    140140                        displayInfo: true, 
    141                         displayMsg :'<b>Total Assignments: '+totalAssignment+' </b>', 
     141                        displayMsg: '<b>Total Assignments: '+totalAssignment+' </b>', 
     142                        emptyMsg: '<b>Total Assignments: '+totalAssignment+' </b>', 
    142143                        pageSize: defaultPageSize 
    143144                        })