Fossil

Check-in [4c803826ad]
Login

Check-in [4c803826ad]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Use common HTML entities rather than obscure unicode characters for the arrows on sortable table columns.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 4c803826adde3ddcfb0288a8118f329e7bb2800f
User & Date: drh 2015-01-06 21:43:53.251
Context
2015-01-07
21:46
Move table column sort indicator into CSS. ... (check-in: d3eb877c06 user: joel tags: trunk)
19:46
Merge latest trunk ... (check-in: aea273f77e user: baruch tags: svn-import)
2015-01-06
21:43
Use common HTML entities rather than obscure unicode characters for the arrows on sortable table columns. ... (check-in: 4c803826ad user: drh tags: trunk)
13:14
Add the --verbose option to the clone command. ... (check-in: 5e7d3effa3 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/report.c.
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
  @     var arrowdiv = this.hdrRow.getElementsByClassName("sortarrow");
  @     while( arrowdiv[0] ){
  @        arrowdiv[0].parentNode.removeChild(arrowdiv[0]);
  @     }
  @     for (var i=0; i<this.hdrRow.cells.length; i++) {
  @       if( this.columnTypes[i]=='x' ) continue;
  @       if( this.prevColumn==i+1 ){
  @         arrow = "\u2b07";
  @       }else if( this.prevColumn==(-1-i) ){
  @         arrow = "\u2b06";
  @       }else{
  @         arrow = "\u21f3";
  @       }
  @       this.hdrRow.cells[i].innerHTML +=
  @             "<span class='sortarrow'>" + arrow + "</div>";
  @     }
  @   }
  @   this.sortText = function(a,b) {
  @     var i = thisObject.sortIndex;







|

|

|







987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
  @     var arrowdiv = this.hdrRow.getElementsByClassName("sortarrow");
  @     while( arrowdiv[0] ){
  @        arrowdiv[0].parentNode.removeChild(arrowdiv[0]);
  @     }
  @     for (var i=0; i<this.hdrRow.cells.length; i++) {
  @       if( this.columnTypes[i]=='x' ) continue;
  @       if( this.prevColumn==i+1 ){
  @         arrow = "&darr;"
  @       }else if( this.prevColumn==(-1-i) ){
  @         arrow = "&uarr;"
  @       }else{
  @         arrow = "&diams;"
  @       }
  @       this.hdrRow.cells[i].innerHTML +=
  @             "<span class='sortarrow'>" + arrow + "</div>";
  @     }
  @   }
  @   this.sortText = function(a,b) {
  @     var i = thisObject.sortIndex;