The checkboxes were not settable in the previous implementation.
authorW. Trevor King <wking@drexel.edu>
Sat, 17 Jul 2010 14:08:34 +0000 (10:08 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 17 Jul 2010 14:08:34 +0000 (10:08 -0400)
commit3298e563ad8e9479e0c30b0d99baafcb0550502f
tree856664171cc8da096515b00d270cbe1c596acb16
parent46565ba4cce440a96dbe4844c2b01502b468d7f6
The checkboxes were not settable in the previous implementation.

The problem seems to stem from the old
  flags="dont-build-content"
setting, which selects tree vs. content templating.  See
  https://developer.mozilla.org/en/XUL_Tutorial/Trees_and_Templates
  https://developer.mozilla.org/en/XUL/Attribute/flags
for details.

Also hooked checkbox handler (checkbox_activity()) on as a method of
the tree.view, which makes it easier to only act on checkbox activity,
and locate the active row.

Other tidbits:
  * Set type="application/javascript" in dirtag.js import.
    Might as well to that formally.
  * selstype="primary" in checkbox-tree.
    I'd rather disable selection entirely, but this at least keeps it off the
    checkbox column.
static/dirtag.js
static/dirtag.xul