Ticket #3642: 3642.patch
File 3642.patch, 2.0 KB (added by , 14 years ago) |
---|
-
_source/plugins/dialogui/plugin.js
1217 1217 if ( CKEDITOR.env.isCustomDomain() ) 1218 1218 frameDocument.$.domain = document.domain; 1219 1219 1220 var size = ''; 1221 if ( elementDefinition.size ) 1222 size = elementDefinition.size - ( CKEDITOR.env.ie ? 7 : 0 ); // "Browse" button is bigger in IE. 1223 1220 1224 frameDocument.$.write( [ '<html><head><title></title></head><body style="margin: 0; overflow: hidden; background: transparent;">', 1221 1225 '<form enctype="multipart/form-data" method="POST" action="', 1222 1226 CKEDITOR.tools.htmlEncode( elementDefinition.action ), … … 1224 1228 '<input type="file" name="', 1225 1229 CKEDITOR.tools.htmlEncode( elementDefinition.id || 'cke_upload' ), 1226 1230 '" size="', 1227 CKEDITOR.tools.htmlEncode( elementDefinition.size || ''),1231 CKEDITOR.tools.htmlEncode( size > 0 ? size : "" ), 1228 1232 '" />', 1229 1233 '</form>', 1230 1234 '</body></html>' ].join( '' ) ); -
_source/plugins/image/dialogs/image.js
975 975 id : 'upload', 976 976 label : editor.lang.image.btnUpload, 977 977 action : editor.config.image_uploadAction, 978 style: 'height:40px', 978 979 size : 38 979 980 }, 980 981 { -
_source/plugins/link/dialogs/link.js
822 822 id : 'upload', 823 823 label : editor.lang.common.upload, 824 824 action : editor.config.linkUploadAction, 825 style: 'height:40px', 825 826 size : 38 826 827 }, 827 828 {