Changeset a2e62f for content/vI_rdfDataTree.js
- Timestamp:
- Aug 25, 2018, 12:02:17 PM (4 years ago)
- Branches:
- ng_0.9
- Children:
- fab458
- Parents:
- 7fa986
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/vI_rdfDataTree.js
r7fa986 ra2e62f 254 254 }, 255 255 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"); 263 259 }, 264 260 … … 268 264 this.getCellText = function (row, col) { 269 265 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")) 271 267 return ""; // image will be used as indicator 272 268 else return retValue;
Note: See TracChangeset
for help on using the changeset viewer.