params.langCode = editor.langCode;\r
\r
var url = addQueryString( this.filebrowser.url, params );\r
- editor.popup( url, width, height );\r
+ editor.popup( url, width, height, editor.config.fileBrowserWindowFeatures );\r
}\r
\r
/**\r
// Associate filebrowser to elements with 'filebrowser' attribute.\r
for ( var i in definition.contents )\r
{\r
- element = definition.contents[ i ] ;\r
- attachFileBrowser( evt.editor, evt.data.name, definition, element.elements );\r
- if ( element.hidden && element.filebrowser )\r
+ if ( ( element = definition.contents[ i ] ) )\r
{\r
- element.hidden = !isConfigured( definition, element[ 'id' ], element.filebrowser );\r
+ attachFileBrowser( evt.editor, evt.data.name, definition, element.elements );\r
+ if ( element.hidden && element.filebrowser )\r
+ {\r
+ element.hidden = !isConfigured( definition, element[ 'id' ], element.filebrowser );\r
+ }\r
}\r
}\r
} );\r
* @example\r
* config.filebrowserImageBrowseLinkUrl = '/browser/browse.php';\r
*/\r
+\r
+/**\r
+ * The "features" to use in the file browser popup window.\r
+ * @name CKEDITOR.config.filebrowserWindowFeatures\r
+ * @since 3.4.1\r
+ * @type String\r
+ * @default 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes'\r
+ * @example\r
+ * config.filebrowserWindowFeatures = 'resizable=yes,scrollbars=no';\r
+ */\r