From 17bd8733d0a5568bc1d89eea7ce13894bd1c066e Mon Sep 17 00:00:00 2001 From: jean Date: Mon, 10 Sep 2012 11:12:05 +1200 Subject: [PATCH] FIX 7853 Flush the content of drop down fields when closing html editor linker (links and images) --- javascript/HtmlEditorField.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/javascript/HtmlEditorField.js b/javascript/HtmlEditorField.js index d99cdcdde..ea5a3d135 100644 --- a/javascript/HtmlEditorField.js +++ b/javascript/HtmlEditorField.js @@ -457,7 +457,8 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE; /* NOP */ }, resetFields: function() { - /* NOP */ + // Flush the tree drop down fields, as their content might get changed in other parts of the CMS, ie in Files and images + this.find('.tree-holder').empty(); } });