Fixed a bug in ccm-cms module, class com.arsdigita.cms.ui.ItemSearchFolderBrowser.

This bug causes the ItemSearch popup not to close when an item was selected. 


git-svn-id: https://svn.libreccm.org/ccm/trunk@504 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2010-08-12 08:03:38 +00:00
parent b10cbd3a76
commit 0fb7fc3934
1 changed files with 3 additions and 1 deletions

View File

@ -328,7 +328,9 @@ public class ItemSearchFolderBrowser extends Table {
+ widget + ".value=\"" + fill + "\";\n");
// set protocol to 'other' in FCKEditor, else relative url prepended by http://
if (Bebop.getConfig().getDHTMLEditor().equals(BebopConstants.BEBOP_FCKEDITOR)) {
buffer.append("window.opener.document.getElementById('cmbLinkProtocol').value=\"\";\n");
buffer.append(" if(window.opener.document.getElementById('cmbLinkProtocol')) {\n");
buffer.append(" window.opener.document.getElementById('cmbLinkProtocol').value=\"\";\n");
buffer.append(" }\n");
}
buffer.append(" self.close(); \n"