Permalink
Browse files

FIX 7853 Flush the content of drop down fields when closing html edit…

…or linker (links and images)
  • Loading branch information...
1 parent 99ae715 commit 17bd8733d0a5568bc1d89eea7ce13894bd1c066e @patbolo patbolo committed Sep 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 javascript/HtmlEditorField.js
View
3 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();
}
});

0 comments on commit 17bd873

Please sign in to comment.