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

Ignore:
Timestamp:
Aug 25, 2018, 12:02:17 PM (4 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
fab458
Parents:
7fa986
Message:

chamged braille-interface to texttospeach

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_rdfDataTree.js

    r7fa986 ra2e62f  
    254254      },
    255255
    256       get _braille() {
    257         var braille = false;
    258         try {
    259           braille = (vI.prefroot.getCharPref("accessibility.usebrailledisplay") ||
    260             vI.prefroot.getCharPref("accessibility.usetexttospeech"));
    261         } catch (e) {};
    262         return braille;
     256      get _texttospeach() {
     257        return "true"; // can't get icons drawn in tree - changed behavior of treechildren::-moz-tree-cell
     258        //return vI.prefroot.getCharPref("accessibility.usetexttospeech");
    263259      },
    264260
     
    268264        this.getCellText = function (row, col) {
    269265          var retValue = table[row][col.id.substr(0, col.id.indexOf("_"))];
    270           if (!rdfDataTreeCollection._braille && (retValue == "no" || retValue == "yes"))
     266          if (!rdfDataTreeCollection._texttospeach && (retValue == "no" || retValue == "yes"))
    271267            return ""; // image will be used as indicator
    272268          else return retValue;
Note: See TracChangeset for help on using the changeset viewer.