}
sym.name = EscapeHTML(key);
if (sym.description) {
- sym.description = EscapeHTML(sym.description);
+ sym.description = EscapeHTML(sym.description);
}
if (sym.options) {
var sym = item.symbols[key];
if (sym.description) {
- var str = "<strong><abbr data-sym-key=\"" + key + "\">" + sym.name + "</abbr></strong>" + "(" + sym.score + ")";
+ var str = "<strong><abbr data-sym-key=\"" + key + "\">" + sym.name + "</abbr></strong>" + "(" + sym.score + ")";
- // Store description for tooltip
- symbolDescriptions[key] = sym.description;
+ // Store description for tooltip
+ symbolDescriptions[key] = sym.description;
} else {
- var str = "<strong>" + sym.name + "</strong>" + "(" + sym.score + ")";
+ var str = "<strong>" + sym.name + "</strong>" + "(" + sym.score + ")";
}
if (sym.options) {
var self = e.data.self, selected = $(this).val();
if (selected !== self.def) {
if(selected === "reject"){
- self.addFilter("action", "reject -soft", [ "action" ]);
+ self.addFilter("action", "reject -soft", [ "action" ]);
} else {
- self.addFilter("action", selected, [ "action" ]);
+ self.addFilter("action", selected, [ "action" ]);
}
} else {
self.removeFilter("action");
"filtering": FooTable.actionFilter
},
"on": {
- "ready.ft.table": drawTooltips,
- "after.ft.sorting": drawTooltips,
- "after.ft.paging": drawTooltips,
- "after.ft.filtering": drawTooltips
+ "ready.ft.table": drawTooltips,
+ "after.ft.sorting": drawTooltips,
+ "after.ft.paging": drawTooltips,
+ "after.ft.filtering": drawTooltips
}
});
} else {
"filtering": FooTable.actionFilter
},
"on": {
- "ready.ft.table": drawTooltips,
- "after.ft.sorting": drawTooltips,
- "after.ft.paging": drawTooltips,
- "after.ft.filtering": drawTooltips
+ "ready.ft.table": drawTooltips,
+ "after.ft.sorting": drawTooltips,
+ "after.ft.paging": drawTooltips,
+ "after.ft.filtering": drawTooltips
}
});
}