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-94f89814c4dfmaster
parent
b10cbd3a76
commit
0fb7fc3934
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue