id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,browser,external_id,os,state 235,Task Pane's home button sometimes directs to a task instead of the home page,dorshemer,madair," 1. Select a task on the Task List menu 2. Click the Task Pane Home button 3. Select a task again 4. Click the Home button After the fourth step, the task pane will reload with the last task it had, instead of the task pane's home page. This occurs because of the following code (widgets/TaskPane.js): {{{ goHome: function() { this.nCurrentTask = 0; this.iframe.src = this.aExecutedTasks[this.nCurrentTask]; this.updateButtons(); }, setContent: function(url) { .... this.aExecutedTasks.push(url); ++this.nCurrentTask; this.iframe.src = url; this.iframe.taskPaneId = this.widgetTag.name; this.updateButtons(); }, }}} Selecting a task calls setContent which pushes the task URL to the aExecutedTasks array, but clicking the home button resets the array without pushing it. The next call to setContent will place the task URL at index 0, and every call to goHome after that will invoke that URL. To fix it, I suggest calling setContent from goHome: {{{ goHome: function() { this.nCurrentTask = 0; var url = this.aExecutedTasks[this.nCurrentTask]; this.aExecutedTasks = []; this.setContent(url); }, }}} or perhaps something more elegant.",defect,closed,P2,2.0,Widgets,1.1.1,Minor,fixed,"""Task Pane"" Home",,All,,All,New