1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:25:55 +00:00

fix preference tree elements not being properly clickable in Firefox

This commit is contained in:
Andrew Dolgov
2010-11-21 23:05:51 +03:00
parent bcf5ed46e3
commit 8a097fa381
6 changed files with 20 additions and 19 deletions

View File

@@ -39,13 +39,5 @@ dojo.declare("fox.PrefLabelTree", lib.CheckBoxTree, {
getIconClass: function (item, opened) {
return (!item || this.model.mayHaveChildren(item)) ? (opened ? "dijitFolderOpened" : "dijitFolderClosed") : "invisible";
},
onClick: function (item) {
var id = String(item.id);
var bare_id = id.substr(id.indexOf(':')+1);
if (id.match('LABEL:')) {
editLabel(bare_id, event);
}
},
});