Ticket #5728: 5728_1.patch
File 5728_1.patch, 1.4 KB (added by , 13 years ago) |
---|
-
_source/plugins/dialogui/plugin.js
1339 1339 var frameElement = CKEDITOR.document.getById( this._.frameId ), 1340 1340 frameDocument = frameElement.getFrameDocument(), 1341 1341 elementDefinition = this._.definition, 1342 buttons = this._.buttons; 1342 buttons = this._.buttons, 1343 langDir = this._.dialog._.editor.lang.dir, 1344 langCode = this._.dialog._.editor.langCode; 1343 1345 1344 1346 function generateFormField() 1345 1347 { … … 1353 1355 if ( elementDefinition.size ) 1354 1356 size = elementDefinition.size - ( CKEDITOR.env.ie ? 7 : 0 ); // "Browse" button is bigger in IE. 1355 1357 1356 frameDocument.$.write( [ '<html ><head><title></title></head><body style="margin: 0; overflow: hidden; background: transparent;">',1357 '<form enctype="multipart/form-data" method="POST" action="',1358 frameDocument.$.write( [ '<html dir="' + langDir + '" lang="' + langCode + '"><head><title></title></head><body style="margin: 0; overflow: hidden; background: transparent;">', 1359 '<form enctype="multipart/form-data" method="POST" dir="' + langDir + '" lang="' + langCode + '" action="', 1358 1360 CKEDITOR.tools.htmlEncode( elementDefinition.action ), 1359 1361 '">', 1360 1362 '<input type="file" name="',