JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.3
[ckeditor.git] / _source / plugins / filebrowser / plugin.js
index 5f87180..d354327 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -246,7 +246,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                {\r
                        element = elements[ i ];\r
 \r
-                       if ( element.type == 'hbox' || element.type == 'vbox' )\r
+                       if ( element.type == 'hbox' || element.type == 'vbox' || element.type == 'fieldset' )\r
                                attachFileBrowser( editor, dialogName, definition, element.children );\r
 \r
                        if ( !element.filebrowser )\r
@@ -321,7 +321,6 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
        {\r
                var dialog = sourceElement.getDialog();\r
                var targetElement = sourceElement.filebrowser.target || null;\r
-               url = url.replace( /#/g, '%23' );\r
 \r
                // If there is a reference to targetElement, update it.\r
                if ( targetElement )\r