diff --git a/html/js/scripts.js b/html/js/scripts.js
index 99c9e5ba3..c0fd3c2b8 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -2610,12 +2610,12 @@ function search_display_tag(p_dossier, p_prefix)
var code_html = getNodeText(html[0]);
code_html = unescape_xml(code_html);
remove_waiting_box();
- add_div({id: p_prefix + 'tag_div', style: '', cssclass: 'inner_box', drag: 1});
+ add_div({id: p_prefix + 'tag_div', style: 'left:10%;width:70%', cssclass: 'inner_box', drag: 1});
$(p_prefix + 'tag_div').style.top = posY - 80 + "px";
$(p_prefix + 'tag_div').style.left = posX - 200 + "px";
remove_waiting_box();
$(p_prefix + 'tag_div').innerHTML = code_html;
-
+ code_html.evalScripts();
}
}
);
diff --git a/include/template/tag_search_select.php b/include/template/tag_search_select.php
index cd48dac01..5b50aaa19 100644
--- a/include/template/tag_search_select.php
+++ b/include/template/tag_search_select.php
@@ -50,4 +50,8 @@ $gDossier=Dossier::id();
-
\ No newline at end of file
+
+
+=HtmlInput::button_close($p_prefix.'tag_div')?>
\ No newline at end of file