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

Changeset 711654


Ignore:
Timestamp:
Aug 17, 2018, 3:54:35 PM (4 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
552778
Parents:
c0e3c9
Message:

removed broken getCellProperties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_rdfDataTree.js

    rc0e3c9 r711654  
    304304            rdfDataTreeCollection.trees[treeType].sort(col.id.substr(0, col.id.indexOf("_")));
    305305        };
    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      },
    337307
    338308      __setFilter: function (text) {
Note: See TracChangeset for help on using the changeset viewer.