Opened 13 years ago

Last modified 13 years ago

#7239 pending Bug

Upload file and adobe air

Reported by: Bouki Owned by:
Priority: Normal Milestone:
Component: General Version: 3.5.2
Keywords: AIR Cc:


Hi On air, the file uploader doesn't appears I have to precise that a <input type = "file" /> is properly rendered in air

Change History (4)

comment:1 Changed 13 years ago by Frederico Caldeira Knabben

Keywords: AIR added; upload adobe air removed
Status: newpending

The problem here is not really the input field, but instead the backend... where to upload the file to? how to do that? which backend software to do that?

comment:2 Changed 13 years ago by Bouki

the backend isn't the issue here, because the input field for choosing a file doesn't even appears

I've made tests with a sample code that works on my browser, but doesn't in air

comment:3 Changed 13 years ago by Bouki

found the issue reason : ckeditor use iframe to make upload and then try to access iframe content by javascript however this is not permitted by adobe air security sandbox a solution could be to attach created iframe to the window sandbox

comment:4 Changed 13 years ago by Bouki

I've found that this can only be achieved in 2 ways :

  • the iframe has to load a real page wich contains a window.setContent function in order to set content of the window, and then the parent window can call this function.
  • give up with iframe and use flash scripts in order to upload
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy