
KTML File Uploads Hang in IE7 with Flash 10 and How to Fix
I am still using the KTML WYSIWYG editor and some users have mentioned recently that IE7 no longer allows them to upload files via the file browser. My test computers work just fine so it took a while to find the cause. Oddly enough my test computers had yet to install Flash 10.
It turns out that Flash 10 (which is great) changed how they allow js to trigger certain things such as opening new window for file browsing. This has affected a great many sites and tools. I can't blame Adobe for making the security change, it makes sense to me. However we must have some solution for our customers.
Now to the important part, how to fix KTML:
It turns out I don't care about using flash to upload files. The utility in KTML only works in IE7 anyway which I never use. So for our case we are just going to disable the flash option completely so the browser performs a normal file upload.
Open /ktm/modules/filebrowser/filebrowser.js
Do a search for 'is.mozilla||version.major<8'. This js code is shrunk and so hard to read. The fastest and easiest change for you (not very clean though) is to just change that 8 to 20. so it would be is.mozilla||version.major<20
Next do another search for 'is.ie&&version.major>=8' notice the >= this time? Also change that 8 to 20.
This is telling the editor is to only use the flash module if it is IE and if it Flash is at version 20 or greater. Since we are at version 10 it will be a very very long time before we hit that mark.
That's it, all should work just fine now (remember to cntr-R to clear js cache of that editor page). Remember, this is a hack fix. I could redo the js to be better, but frankly I have more important things to work on at the moment and the compressed code is a pain to work with. Since KTML is a dead editor anyway I would like to spend my time working on finding a new editor that is supported and better.
Does such a thing exist? I can dream can't I?

NAVIGATION
HomeAbout Me
RSS
Search
Subscribe
Recent Entries
New Blog DesignPre-Conference Training at cf.Objective()
FireFox 3.6 KTML Editor Fix
I am now a part of the Adobe Community Professionals Group
RIAdventure Was a Blas with photos
Recent Comments
submiting a form inside an iframe from outside the iframe
Peter said: I doubt you’re still having this problem over 2 years later, but if anyone else finds this page on t...
[More]
FireFox 3.6 KTML Editor Fix
Dario Vargas said: Gracias por publicar la solución a la compatibilidad del KTML a Firefox 3.6 y la solucion al panel d...
[More]
Vista Zip Slow and Broken?
betniurbo said: lzCfXK <a href="http://sapiensyckas.com/&...;, [url=http://zynqf...
[More]
FireFox 3.6 KTML Editor Fix
Richard said: These fixes have worked on some issues, but any idea why the paragraph button no longer wants to wor...
[More]
FireFox 3.6 KTML Editor Fix
joshua said: if I remember right, just change (this.edit.readyState != "complete") to (1 == 0)
It is ...
[More]
Calendar
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 |
Archives By Subject
blogs (31) [RSS]books (4) [RSS]
Crazy (39) [RSS]
DIY (8) [RSS]
Flex (3) [RSS]
games (10) [RSS]
GRRR (13) [RSS]
Ideas (11) [RSS]
Local (14) [RSS]
LOLpics (2) [RSS]
money (9) [RSS]
music (3) [RSS]
Personal (27) [RSS]
Photos (8) [RSS]
Politics (8) [RSS]
Projects (22) [RSS]
Review (18) [RSS]
RPM (9) [RSS]
Spam (16) [RSS]
Technology (66) [RSS]
Testing (3) [RSS]
TV (15) [RSS]
video (32) [RSS]
Web Dev (217) [RSS]
World of Warcraft (16) [RSS]

Thanks again!
-Kevin C.
You have saved my day.
Sincerly Robert
PS. Sorry for my poor english .. rsrs