From 3fd57f5e9e9fd7cdabb3bc5645f28e211198df35 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 17 Jul 2010 20:07:48 -0400 Subject: [PATCH] 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... --- static/dirtag.js | 73 +++++++++++++++++++++++++++++++++++---------- template/dirtag.xul | 4 +-- 2 files changed, 60 insertions(+), 17 deletions(-) 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 - + - + -- 2.26.2