
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
Inception Plot QuestionsRandom Chuck Norris Fact Generator With A Twist
Virtual Currency for Buses
Applying ColdFusion Security Patches Gotcha
Privacy, Walled Gardens, Standards and Our Future
Recent Comments
KTML File Uploads Hang in IE7 with Flash 10 and How to Fix
Eric said: Thanks much
[More]
Inception Plot Questions
hohack said: @ switchkosterice 5 comments, those kids are from when mal is alive still
[More]
Inception Plot Questions
Ira said: Just saw it a 2nd time. Do so, and pay extremely close attention to two details throughout the film:...
[More]
Inception Plot Questions
said:
[More]
Inception Plot Questions
switchkosterice said: The kids at the end actually have aged. In fact, they're an entirely different (and older) set of ac...
[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 | 29 | 30 | 31 |
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 (19) [RSS]
RPM (9) [RSS]
Spam (16) [RSS]
Technology (68) [RSS]
Testing (3) [RSS]
TV (15) [RSS]
video (32) [RSS]
Web Dev (224) [RSS]
World of Warcraft (16) [RSS]

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