Skip to content

Commit

Permalink
fix compatibility issue for firefox 22
Browse files Browse the repository at this point in the history
  • Loading branch information
mimecuvalo committed Jun 8, 2013
1 parent 595755c commit 8e74709
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/content/js/etc/queueTree.js
Expand Up @@ -57,12 +57,23 @@ var queueTree = {

cycleHeader : function(col) { },

setProperty: function(prop, value) {
if (prop) {
prop.AppendElement(gAtomService.getAtom(value));
return "";
} else {
return " " + value;
}
},

getCellProperties : function(row, col, props) {
let properties = "";
if (row >= 0 && row < this.data.length && this.data[row]) {
if (col.id == "queuesource") {
props.AppendElement(gAtomService.getAtom("nameCol"));
properties += this.setProperty(props, "nameCol");
}
}
return properties;
},

getProgressMode : function(row, col) {
Expand Down

0 comments on commit 8e74709

Please sign in to comment.