1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 23:35:57 +00:00

experimental work on draggable pref feed tree

This commit is contained in:
Andrew Dolgov
2010-11-17 23:32:32 +03:00
parent 05f224a3d7
commit 2148e0d5cc
3 changed files with 20 additions and 9 deletions

16
PrefFeedTree.js Normal file
View File

@@ -0,0 +1,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;
},
});