experimental work on draggable pref feed tree
parent
05f224a3d7
commit
2148e0d5cc
@ -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;
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue