summaryrefslogtreecommitdiff
path: root/PrefFeedTree.js
blob: f8d1e7b15fb33619605d10bea5e323c8b705221a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
	},
});