--- modules/taxonomy_dhtml/taxonomy_dhtml.module       2007-03-03 14:07:47.000000000 +0100
+++ modules/taxonomy_dhtml/taxonomy_dhtml.module   2007-03-26 23:34:08.000000000 +0200
@@ -265,4 +265,14 @@ function taxonomy_dhtml_help($section) {
   return $output;
 }
 
+/**
+  * Implementation of hook_taxonomy()
+  */
+function taxonomy_dhtml_taxonomy($op, $type, $array = NULL) {
+  // clear cache after editing taxonomy
+  if ($type == 'term') {
+    cache_clear_all('taxonomy_dhtml:tree_nodes_', 'cache', TRUE);
+  }
+}
+
 ?>

