From: W. Trevor King Date: Sun, 18 Jul 2010 00:07:48 +0000 (-0400) Subject: Added working RDF refresh. X-Git-Url: http://git.tremily.us/?p=dirtag.git;a=commitdiff_plain;h=3fd57f5e9e9fd7cdabb3bc5645f28e211198df35 Added working RDF refresh. The previous Components.classes approach required chrome:// permissions. Also took a stab at updating the checkboxes when we reload data or change the currently selected file. I think I'm writing the correct value, but the checkboxes are not being displayed... --- diff --git a/static/dirtag.js b/static/dirtag.js index 47f63d4..b6f5373 100644 --- a/static/dirtag.js +++ b/static/dirtag.js @@ -1,5 +1,14 @@ /* Useful helper functions */ +function tree_tags(tree, row) { + var ctags = tree.columns.getLastColumn(); + var tags = tree.view.getCellText(row, ctags).split(','); + for (var i=0; i - + - +