So I have an app running CKEditor, or lets just pretend its "just a chunk of javascript".
CKEditor (the javascript) loads fine if I navigate to my app, login, and initalize the editor.
However CKEditor fails if I "remember my login" as it bypasses the login screen.
The two code paths are as follows:
1. navigate to site > login > initialize editor ...WORKS!
2. navigate to site > initialize editor ...FAILS!
The login is a VERY complicated javascript app, so I can't tear it apart, but it is scoped.
The only thing I can think of is some really bizarre load order/timing problem that manifests itself under very specific conditions. Does anyone have any experienced with this kind of issue?
I tried a lot of things. Moving javascript files around, changing load order of scripts开发者_如何学编程, but nothing seems to get case #2 to work.
Open to ideas...
Seems that it is some file path bug with IE7/CKEDTIOR.
This does not work:
<script type="text/javascript" src="js/ckeditor.js"></script>
While this works:
<script type="text/javascript" src="http://mysite.com/js/ckeditor.js"></script>
What a joke. Wasted 6 days trying to figure it out!
精彩评论