--- trunk2/eurovoc/js/hide.js 2004/11/01 22:13:07 576 +++ trunk2/eurovoc/js/hide.js 2004/11/01 22:13:41 577 @@ -16,6 +16,7 @@ function element_id(id) { //debug("id: "+id); + if (id_cache[id]) { //debug("from cache "+id+" == "+id_cache[id]); return id_cache[id]; @@ -44,6 +45,9 @@ if (! dont_save) changed_display_ids[changed_display_pos++] = name; } + // if in iframe, ask parent to resize me + if (parent.iframe_resize) parent.iframe_resize(self.name); + return false; }