$ fgrep mce.html access_log | grep -v 192.168 | cut -d '' '' -f
1 | uniq | wc -l
15
Could any of those 15 people comment if you saw the same thing or not?
And any ideas how one might debug this?
On Sun, Dec 04, 2005 at 07:06:27PM -0800, Bill Moseley
wrote:> I''m using TinyMCE[1], a popular javascript WYSIWYG html editor.
The
> editor fails to work when I load Scriptaculous before it -- well
> depending on the browser.
>
> I can make my application load the javascript in a different order,
> but just in case it''s an issue in scriptaculous I thought
I''d report.
>
> I have a few pages up -- I''d like to find out if anyone else sees
the
> same behaviour.
>
> This order of loading the javascript doesn''t work and I get the
error:
>
> tinyMCE.BaseURL has no properties
>
>
> See: http://hank.org/images/mce.html
>
> <script type="text/javascript"
src="http://script.aculo.us/scripts/prototype.js"></script>
> <script type="text/javascript"
src="http://script.aculo.us/scripts/scriptaculous.js"></script>
>
> <script type="text/javascript"
src="http://tinymce.moxiecode.com/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
> <script type="text/javascript"
src="mce_init.js"></script>
>
>
> But if I reverse the order it works:
>
> See: http://hank.org/images/mce_ok.html
>
> <script type="text/javascript"
src="http://tinymce.moxiecode.com/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
> <script type="text/javascript"
src="mce_init.js"></script>
>
>
> <script type="text/javascript"
src="http://script.aculo.us/scripts/prototype.js"></script>
> <script type="text/javascript"
src="http://script.aculo.us/scripts/scriptaculous.js"></script>
>
>
> And for some reason if I place the mce_init.js inline in a <script>
> tag then it works even when loading scriptaculous.js first as in the
> first example above:
>
> See: http://hank.org/images/mce_ok2.html
>
>
>
> I''m testing with Firefox 1.5 and Mozilla 1.7 on Linux. On the Mac
> Firefox also worked, but IE 5.2 did not. Oddly, Safari 1.3.1 popped
> up an error saying javascript was not well supported so don''t
bother
> reporting errors -- yet it was the only browser where TinyMCE editor
> worked on all three pages. I don''t have Windows available.
>
> tinyMCE is distributed without any newlines, so it seems, so errors
> are always reported on line 1.
>
>
>
>
> [1] http://sourceforge.net/projects/tinymce/
>
> --
> Bill Moseley
> moseley-kv6DSSSScSo@public.gmane.org
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
--
Bill Moseley
moseley-kv6DSSSScSo@public.gmane.org