This is just some static backup of the original site, don't expect every link to work!

Changeset 1b97b4


Ignore:
Timestamp:
Dec 5, 2011, 1:04:00 PM (11 years ago)
Author:
rene <rene@…>
Branches:
ng_0.8
Children:
c78ef6
Parents:
554ed7
Message:

backported fixes from 11bcb7373760 - sorting and filter view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_rdfDataTree.js

    r554ed7 r1b97b4  
    8787       
    8888        //restore scroll position
    89         if (topVisibleRow) {
     89        if (topVisibleRow && topVisibleRow <= this.idTable.length) {
    9090            this.treeElem.treeBoxObject.scrollToRow(topVisibleRow);
    9191        }
     
    125125            return 0;
    126126        }
    127         if (columnName) this.idTable.sort(columnSort);
     127        if (!columnName)
     128          columnName = this.treeElem.getAttribute("sortResource")
     129       
     130        this.idTable.sort(columnSort);
    128131       
    129132        //setting these will make the sort option persist
     
    334337        for each (var treeType in rdfDataTreeCollection.treeTypes) {
    335338            rdfDataTreeCollection.trees[treeType].idData = null;
    336             rdfDataTreeCollection.trees[treeType].idTable = null;
    337339            rdfDataTreeCollection.trees[treeType].loadTable()
    338340        }
Note: See TracChangeset for help on using the changeset viewer.