Changeset 711654
- Timestamp:
- Aug 17, 2018, 3:54:35 PM (4 years ago)
- Branches:
- ng_0.9
- Children:
- 552778
- Parents:
- c0e3c9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/vI_rdfDataTree.js
rc0e3c9 r711654 304 304 rdfDataTreeCollection.trees[treeType].sort(col.id.substr(0, col.id.indexOf("_"))); 305 305 }; 306 this.getCellProperties = function (row, col, props) { 307 var returnValue = null; 308 if (!rdfDataTreeCollection._braille) { 309 var aserv = Components.classes["@mozilla.org/atom-service;1"]. 310 getService(Components.interfaces.nsIAtomService); 311 if (typeof props == 'undefined') { 312 // Requires Gecko 22 313 switch (table[row][col.id.substr(0, col.id.indexOf("_"))]) { 314 case "yes": 315 returnValue = aserv.getAtom("yes"); 316 break; 317 case "no": 318 returnValue = aserv.getAtom("no"); 319 break; 320 } 321 } else { 322 // Obsolete since Gecko 22 323 switch (table[row][col.id.substr(0, col.id.indexOf("_"))]) { 324 case "yes": 325 props.AppendElement(aserv.getAtom("yes")); 326 break; 327 case "no": 328 props.AppendElement(aserv.getAtom("no")); 329 break; 330 } 331 } 332 } 333 return returnValue; 334 }; 335 }, 336 306 }, 337 307 338 308 __setFilter: function (text) {
Note: See TracChangeset
for help on using the changeset viewer.