1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 12:25:56 +00:00
Files
tt-rss/PrefFeedTree.js
2010-11-17 23:32:32 +03:00

17 lines
378 B
JavaScript

dojo.provide("fox.PrefFeedTree");
dojo.require("lib.CheckBoxTree");
dojo.declare("fox.PrefFeedTree", lib.CheckBoxTree, {
checkItemAcceptance: function(target, source, position) {
var item = dijit.getEnclosingWidget(target).item;
console.log(source.currentWidget);
var id = String(item.id);
return (id.match("CAT:") || position != "over");
return true;
},
});